We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 460688e commit c9ea3cfCopy full SHA for c9ea3cf
1 file changed
backend/apps/mcp/mcp.py
@@ -131,7 +131,7 @@ async def datasource_list(session: SessionDep, mcp_ds: McpDs):
131
@router.post("/mcp_question", operation_id="mcp_question")
132
async def mcp_question(session: SessionDep, chat: McpQuestion):
133
session_user = get_user(session, chat.token)
134
- lang = chat.language
+ lang = chat.lang
135
if lang in ["zh-CN", "zh-TW", "en", "ko-KR"]:
136
session_user.language = lang
137
if chat.oid:
0 commit comments