Skip to content

Fix onboarding wizard and LLM error handling - #47

Merged
gburachas merged 1 commit into
mainfrom
fix/onboarding-and-error-handling
Feb 23, 2026
Merged

gburachas merged 1 commit into
mainfrom
fix/onboarding-and-error-handling

Conversation

@gburachas

Copy link
Copy Markdown
Owner

Summary

  • Onboarding now asks about user identity (name, role, address preference), agent personality (name, style, use case, custom instructions), and writes personalized IDENTITY.md, SOUL.md, AGENT.md, USER.md files
  • Model validation warns on unknown model names; default updated to gpt-5.3-codex
  • Agent loop catches LLM provider errors gracefully instead of crashing

Test plan

  • All 74 tests pass
  • Run pytoclaw onboard and verify all prompts appear
  • Verify IDENTITY.md, SOUL.md, AGENT.md, USER.md are created with personalized content
  • Run pytoclaw agent with invalid model and verify friendly error message

Fixes #45, Fixes #46

🤖 Generated with Claude Code

Onboarding now asks about user identity (name, role, how to be addressed),
agent personality (name, style, use case, custom instructions), and writes
personalized IDENTITY.md, SOUL.md, AGENT.md, and USER.md files.

Model validation warns on unknown model names during onboard. Default model
updated to gpt-5.3-codex. Known models list includes gpt-5.3-codex-spark.

Agent loop now catches LLM provider errors (404, auth, rate limit) and
returns a friendly error message instead of crashing with a traceback.

Fixes #45, Fixes #46

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

@gburachas gburachas left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - onboarding improvements and error handling look good

@gburachas
gburachas merged commit 742d1a3 into main Feb 23, 2026
1 of 3 checks passed
@gburachas
gburachas deleted the fix/onboarding-and-error-handling branch February 23, 2026 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent crashes with unhandled error on invalid model name Onboarding wizard doesn't ask about agent identity or user preferences

1 participant