chore: update fallback templates
- Added critical language rules to fallback response templates to ensure consistent language usage in responses. - Updated logger context to include language and session-related keys for improved context management.
This commit is contained in:
@@ -28,6 +28,9 @@ templates:
|
||||
|
||||
If you have other questions, I'm happy to continue helping you.
|
||||
|
||||
## CRITICAL: Language Rule
|
||||
- ALWAYS respond in {{language}}
|
||||
|
||||
- id: "polite_fallback"
|
||||
name: "Polite Fallback"
|
||||
description: "More polite and friendly fallback response"
|
||||
@@ -53,6 +56,9 @@ templates:
|
||||
|
||||
Thank you for your understanding, and I look forward to helping you with other questions!
|
||||
|
||||
## CRITICAL: Language Rule
|
||||
- ALWAYS respond in {{language}}
|
||||
|
||||
- id: "brief_fallback"
|
||||
name: "Brief Fallback"
|
||||
description: "Short fallback response"
|
||||
|
||||
Reference in New Issue
Block a user