refactor: remove legacy assistant compatibility
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user