customer_service / ai_service.py

Commit History

Fix: remove bold/italic regex stripping Arabic text, add debug logging for payload and AI responses
89a98b8

codeBOKER commited on

Switch to Hugging Face Inference API instead of local models
437b54a

codeBOKER commited on

Fix: strip markdown and HTML tags from AI responses for Telegram
3e8eb5c

codeBOKER commited on

Fix: conversation history field names and save messages after each response
5b59120

codeBOKER commited on

Fix: pass TOOLS to API and handle tool call agentic loop
bdd6a4d

codeBOKER commited on

Fix: append user_query to messages before sending to AI
599290d

codeBOKER commited on

Load MODEL_NAME from env via HF_MODEL, translate TOOLS descriptions to English
9081d86

codeBOKER commited on

modify modle name
690e4e2

codeBOKER commited on

Align AI service history retrieval and model usage
438d5f9

codeBOKER commited on

Refactor webhook handling and AI call flow
e72602f

codeBOKER commited on

for debugging
6070e36

codeBOKER commited on

Add tool-calling knowledge retrieval in AI responses
4ccb6c3

codeBOKER commited on

Switch AI provider to Hugging Face router
9dfc4a2

codeBOKER commited on

Add debug print for user content in AI service
99cffc4

codeBOKER commited on

Fix user content structure in Groq API request
f71b7f4

codeBOKER commited on

connect to supabase
511ba56

codeBOKER commited on