feat: add Chinese UI, Responses models, and mirrored Windows setup
Localize the web console and persist custom model and capability settings. Use OpenAI Responses exclusively and move runtime limits into environment configuration. Bootstrap uv and the virtual environment on Windows, support optional China mirrors, and package source distributions without environments, build output, or credentials. Update regression tests and repository quality checks for the new behavior.
This commit is contained in:
1 parent
371aa6df56
commit
2ddec53954
183 files changed
+3427
-11857
No files matched your search
@@ -53,10 +53,10 @@ def test_submit_answer_tool_subclass():
|
||||
assert submit_answer.args_schema == SubmitAnswerArgs
|
||||
|
||||
# GenAI FunctionDeclaration export
|
||||
declaration = submit_answer.to_genai_declaration()
|
||||
declaration = submit_answer.to_tool_declaration()
|
||||
assert declaration.name == "submit_answer"
|
||||
assert "analysis" in declaration.parameters.properties
|
||||
assert "actionable_steps" in declaration.parameters.properties
|
||||
assert "analysis" in declaration.parameters["properties"]
|
||||
assert "actionable_steps" in declaration.parameters["properties"]
|
||||
|
||||
|
||||
def test_ask_diagnoser_tool_subclass():
|
||||
@@ -81,9 +81,9 @@ def test_ask_diagnoser_tool_subclass():
|
||||
assert ask_diagnoser.args_schema == AskDiagnoserArgs
|
||||
|
||||
# GenAI FunctionDeclaration export
|
||||
declaration = ask_diagnoser.to_genai_declaration()
|
||||
declaration = ask_diagnoser.to_tool_declaration()
|
||||
assert declaration.name == "ask_diagnoser"
|
||||
assert "query" in declaration.parameters.properties
|
||||
assert "query" in declaration.parameters["properties"]
|
||||
|
||||
|
||||
def test_analyze_logs_tool_subclass():
|
||||
@@ -108,6 +108,6 @@ def test_analyze_logs_tool_subclass():
|
||||
assert analyze_logs.args_schema == AnalyzeLogsArgs
|
||||
|
||||
# GenAI FunctionDeclaration export
|
||||
declaration = analyze_logs.to_genai_declaration()
|
||||
declaration = analyze_logs.to_tool_declaration()
|
||||
assert declaration.name == "analyze_logs"
|
||||
assert "specific_query" in declaration.parameters.properties
|
||||
assert "specific_query" in declaration.parameters["properties"]
|
||||
Reference in new issue
Block a user