feat: onboarding overhaul, persona-based setup (#132)
This commit is contained in:
@@ -41,7 +41,12 @@ def test_build_startup_message_includes_missing_engines(tmp_path: Path) -> None:
|
||||
)
|
||||
|
||||
message = telegram_backend._build_startup_message(
|
||||
runtime, startup_pwd=str(tmp_path)
|
||||
runtime,
|
||||
startup_pwd=str(tmp_path),
|
||||
chat_id=123,
|
||||
session_mode="stateless",
|
||||
show_resume_line=True,
|
||||
topics=TelegramTopicsSettings(),
|
||||
)
|
||||
|
||||
assert "takopi is ready" in message
|
||||
@@ -79,7 +84,12 @@ def test_build_startup_message_surfaces_unavailable_engine_reasons(
|
||||
)
|
||||
|
||||
message = telegram_backend._build_startup_message(
|
||||
runtime, startup_pwd=str(tmp_path)
|
||||
runtime,
|
||||
startup_pwd=str(tmp_path),
|
||||
chat_id=123,
|
||||
session_mode="stateless",
|
||||
show_resume_line=True,
|
||||
topics=TelegramTopicsSettings(),
|
||||
)
|
||||
|
||||
assert "agents: `codex" in message
|
||||
|
||||
Reference in New Issue
Block a user