Merge branch 'dev' of https://gitee.com/justop/hxops into dev

This commit is contained in:
sophie committed 2026-07-09 14:43:33 +08:00
commit b89f9bafb6
22 files changed
+492 -244

No files matched your search

@@ -38,6 +38,7 @@ def build_dify_inputs_for_context(ctx: ChatStreamContext) -> dict[str, Any]:
session_id=str(getattr(ctx.session, 'session_id', '') or ''),
request_id=ctx.request_id,
trigger_source='frontend_chat',
user_role=str(getattr(ctx.user, 'role', '') or '').strip() or None,
adapter_hints=ctx.adapter_hints,
user_role=getattr(ctx.user, 'role', None),
)