refactor: remove legacy assistant compatibility
This commit is contained in:
@@ -58,7 +58,7 @@ class ToolOrganizationContractTests(unittest.TestCase):
|
||||
request = AssistantUpsert(**data)
|
||||
self.assertIsNotNone(request.built_in_tools.end_conversation)
|
||||
|
||||
response = AssistantOut(id="asst_legacy", **data)
|
||||
response = AssistantOut(id="asst_realtime", **data)
|
||||
self.assertIsNotNone(response.built_in_tools.end_conversation)
|
||||
|
||||
def test_workflow_camel_case_builtin_config_is_normalized_for_runtime(self):
|
||||
@@ -247,6 +247,8 @@ class ToolBindingTests(unittest.IsolatedAsyncioTestCase):
|
||||
type="http",
|
||||
definition={
|
||||
"config": {
|
||||
"allow_interruptions": True,
|
||||
"execution_mode": "immediate",
|
||||
"parameters": [
|
||||
{"name": "order_id", "type": "string", "required": True},
|
||||
{"name": "tenant", "type": "string", "required": True},
|
||||
@@ -280,6 +282,8 @@ class ToolBindingTests(unittest.IsolatedAsyncioTestCase):
|
||||
type="http",
|
||||
definition={
|
||||
"config": {
|
||||
"allow_interruptions": True,
|
||||
"execution_mode": "immediate",
|
||||
"parameters": [
|
||||
{"name": "tenant", "type": "string", "required": True}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user