mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 01:50:44 +08:00
本次移除 image 专家角色并同步更新路由/绑定/测试,同时增强 session-bootstrap 的共享与角色分层记忆加载,减少刷新依赖并提升默认可用性。 Made-with: Cursor
10 lines
422 B
Python
10 lines
422 B
Python
from __future__ import annotations
|
||
|
||
from oclaw.runtime.agents.specialists import default_system_prefix_for_specialist
|
||
|
||
|
||
def test_specialist_prompts_loaded_from_oclaw_tree() -> None:
|
||
ops = default_system_prefix_for_specialist("ops", "zh")
|
||
gen = default_system_prefix_for_specialist("generalist", "zh")
|
||
assert "运维专家(ops specialist)" in ops
|
||
assert "通识专家(generalist specialist)" in gen
|