优化前端,优化前端指令,优化自定义控制

This commit is contained in:
minghanchen
2026-08-24 09:40:16 +08:00
parent fff7657fea
commit 8d05815773
130 changed files with 5543 additions and 2206 deletions
+8 -1
View File
@@ -199,7 +199,14 @@ class SelfExtensionTests(unittest.TestCase):
response.__enter__.return_value = response
response.read.return_value = stream_body.encode("utf-8")
with patch.dict(os.environ, {"OPENAI_STREAM": "true"}, clear=False):
with patch.dict(
os.environ,
{
"OPENAI_STREAM": "true",
"IR_OPENAI_MODEL": "gpt-5.6-sol",
},
clear=False,
):
service = SelfExtensionService(SimulationGateway())
with patch(
"cognitive_agent.application.self_extension.urlopen",