优化前端,优化前端指令,优化自定义控制
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user