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
@@ -436,9 +436,9 @@ def test_run_adb_command_tool_subclass():
|
||||
assert run_adb_command.args_schema == RunAdbCommandArgs
|
||||
|
||||
# GenAI FunctionDeclaration export
|
||||
declaration = run_adb_command.to_genai_declaration()
|
||||
declaration = run_adb_command.to_tool_declaration()
|
||||
assert declaration.name == "run_adb_command"
|
||||
assert "CommandLine" in declaration.parameters.properties
|
||||
assert "CommandLine" in declaration.parameters["properties"]
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@@ -479,9 +479,9 @@ def test_manage_task_tool_subclass():
|
||||
assert manage_task.args_schema == ManageTaskArgs
|
||||
|
||||
# GenAI FunctionDeclaration export
|
||||
declaration = manage_task.to_genai_declaration()
|
||||
declaration = manage_task.to_tool_declaration()
|
||||
assert declaration.name == "manage_task"
|
||||
assert "Action" in declaration.parameters.properties
|
||||
assert "Action" in declaration.parameters["properties"]
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@@ -541,10 +541,10 @@ def test_analyze_task_output_tool_subclass():
|
||||
assert analyze_task_output.args_schema == AnalyzeTaskOutputArgs
|
||||
|
||||
# GenAI FunctionDeclaration export
|
||||
declaration = analyze_task_output.to_genai_declaration()
|
||||
declaration = analyze_task_output.to_tool_declaration()
|
||||
assert declaration.name == "analyze_task_output"
|
||||
assert "TaskId" in declaration.parameters.properties
|
||||
assert "Query" in declaration.parameters.properties
|
||||
assert "TaskId" in declaration.parameters["properties"]
|
||||
assert "Query" in declaration.parameters["properties"]
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@@ -606,9 +606,9 @@ def test_run_short_adb_command_tool_subclass():
|
||||
assert run_short_adb_command.args_schema == RunShortAdbCommandArgs
|
||||
|
||||
# GenAI FunctionDeclaration export
|
||||
declaration = run_short_adb_command.to_genai_declaration()
|
||||
declaration = run_short_adb_command.to_tool_declaration()
|
||||
assert declaration.name == "run_short_adb_command"
|
||||
assert "CommandLine" in declaration.parameters.properties
|
||||
assert "CommandLine" in declaration.parameters["properties"]
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
||||
Reference in new issue
Block a user