feat: 完善 N7 智能座舱交互与控制链路

This commit is contained in:
vee
2026-09-07 15:34:59 +08:00
parent 32d179143f
commit c96970f068
100 changed files with 30088 additions and 1174 deletions
+14
View File
@@ -77,6 +77,16 @@ def _native_action(
class DriverSeatNativeCanTests(unittest.TestCase):
def setUp(self) -> None:
self.memory_environment = patch.dict(
os.environ,
{
"COGNITIVE_AGENT_DRIVER_SEAT_MEMORY_PATH": str(
REPOSITORY_ROOT / "tests" / "fixtures" / "driver_seat_memory.json"
)
},
)
self.memory_environment.start()
self.addCleanup(self.memory_environment.stop)
self.runtime = NativeCanRuntime(REPOSITORY_ROOT)
def _compile(
@@ -226,6 +236,10 @@ class DriverSeatNativeCanTests(unittest.TestCase):
"seat.set_driver_position_native",
{"slot": 2},
),
"召回主驾座椅2号记忆位置": (
"seat.recall_driver_memory_native",
{"slot": 2},
),
}
for utterance, expected in cases.items():
with self.subTest(utterance=utterance):