Skip to content

Feature/chatbot - #13

Merged
Salmamohamedd merged 8 commits into
devfrom
feature/chatbot
Jul 4, 2026
Merged

Salmamohamedd merged 8 commits into
devfrom
feature/chatbot

Conversation

@Joseph-Sameh-0

Copy link
Copy Markdown
Member

No description provided.

Introduce a tool-driven ChatbotService and supporting models/routes: adds ChatRequest/ChatResponse, replaces GET info endpoints with POST /chatbot that processes chats via ChatbotService. Add a tools package (base + CalculateStats, CalculateBudgetStatus, GetTopCategories) and dynamic tool execution. Enhance LLMClient to rotate GitHub model tokens, fallback to Groq/OSS model, and expose chat_with_tools/json support. Parse GITHUB_TOKENS in config. Change categorization default model to gpt-4o-mini. Update tests to cover the new chatbot flow.
Adds ORM mappings and repository queries for chatbot-accessible data, plus tool wrappers for user info, transactions, categories, budgets, notifications, saving goals, achievements, summaries, and spending analytics. Also updates category priority support and refreshes the top-categories tool description.
Joseph-Sameh-0 and others added 4 commits July 4, 2026 03:35
Wire `GITHUB_TOKENS` through the build and deploy workflows and stop defaulting the config to an empty string so the backend reads the secret consistently.
added gemini-3.5-flash client to process tools response and fixed som…

@Salmamohamedd Salmamohamedd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work on the chatbot module! Prompt handling is highly relevant and yields incredibly insightful results for every inquiry.

@Salmamohamedd
Salmamohamedd merged commit 3721132 into dev Jul 4, 2026
1 check passed
@Joseph-Sameh-0
Joseph-Sameh-0 deleted the feature/chatbot branch July 6, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants