refactor: remove legacy assistant compatibility

This commit is contained in:
Xin Wang
2026-08-18 10:07:18 +08:00
parent abfcd4cd19
commit d003ee77a5
40 changed files with 505 additions and 729 deletions
+10
View File
@@ -91,6 +91,8 @@ class StartupActionValidationTests(unittest.IsolatedAsyncioTestCase):
type="prompt",
runtimeMode="realtime",
startup={
"openingMode": "confirmation",
"entryMode": "generate",
"openingMessage": {
"title": "重要提示",
"message": "请确认已阅读。",
@@ -104,6 +106,8 @@ class StartupActionValidationTests(unittest.IsolatedAsyncioTestCase):
name="内置开场消息",
type="prompt",
startup={
"openingMode": "confirmation",
"entryMode": "generate",
"openingMessage": {
"title": "重要提示",
"message": "请确认已阅读。",
@@ -128,6 +132,8 @@ class StartupActionValidationTests(unittest.IsolatedAsyncioTestCase):
status="active",
definition={
"config": {
"allow_interruptions": True,
"execution_mode": "async",
"wait_for_response": True,
"response_wait_mode": "session",
}
@@ -147,6 +153,8 @@ class StartupActionValidationTests(unittest.IsolatedAsyncioTestCase):
status="active",
definition={
"config": {
"allow_interruptions": True,
"execution_mode": "async",
"wait_for_response": True,
"response_wait_mode": "timeout",
}
@@ -168,6 +176,8 @@ class StartupActionValidationTests(unittest.IsolatedAsyncioTestCase):
status="active",
definition={
"config": {
"allow_interruptions": True,
"execution_mode": "async",
"wait_for_response": True,
"response_wait_mode": "session",
}