Merge branch 'dev' into hugo-shipping-notice
# Conflicts: # backend/app/api/chat.py # backend/app/services/agent_runtime_context/dify_inputs.py # backend/app/services/maintenance_chat_service.py
This commit is contained in:
commit
fc694a8f43
55 files changed
+2107
-192
No files matched your search
@@ -18,7 +18,7 @@ from app.services.chat.intent_route_registry import (
|
||||
def _match(ctx: ChatIntentRouteContext) -> bool:
|
||||
from app.services.maintenance_chat_service import MaintenanceChatService
|
||||
|
||||
return MaintenanceChatService.supports(ctx.query, ctx.agent)
|
||||
return MaintenanceChatService.can_attempt(ctx.query, ctx.agent, session_id=ctx.session_id)
|
||||
|
||||
|
||||
def _stream(ctx: ChatIntentRouteContext):
|
||||
|
||||
Reference in new issue
Block a user