7 Commits

Author SHA1 Message Date
86efefb490 refactor(libs): update imports to use extracted build_user_content 2025-10-31 21:54:21 +00:00
6172fb4f73 refactor(libs): extract build_user_content function to avoid duplication
Move the logic for building user content, including topic selection and recent prompts avoidance, into a shared function in generic.py. Update openrouter.py and openwebui.py to use this new function instead of duplicating code.
2025-10-31 16:08:12 +00:00
435b687585 20 words 2025-10-31 15:31:13 +00:00
e8ec30fc73 Secondary topic and config updates 2025-10-31 15:14:19 +00:00
2e13ecfa2f feat(prompt): implement robust error handling and fallback mechanism
Add retry logic and fallback mechanism to prompt generation. When OpenWebUI
fails, the system now attempts a second try before falling back to OpenRouter.
Proper error handling and logging have been added throughout the prompt
generation flow to ensure more reliable operation.
2025-08-09 09:38:46 +01:00
6e39c34a58 update the openapi folder name 2025-07-29 14:27:50 +01:00
e2acd2dcd6 openweb ui client rather than litellm and ollama 2025-07-29 14:25:13 +01:00