Skip to content

Release 0.9.1: fix CLI NoneType when running dsagent without --model#48

Merged
nmlemus merged 4 commits intomainfrom
fix/cli-none-model
Feb 19, 2026
Merged

Release 0.9.1: fix CLI NoneType when running dsagent without --model#48
nmlemus merged 4 commits intomainfrom
fix/cli-none-model

Conversation

@nmlemus
Copy link
Copy Markdown
Owner

@nmlemus nmlemus commented Feb 19, 2026

Fixes #47

Changes

  • CLI: Resolve effective model with get_default_model(explicit=args.model) before validate_configuration() in repl.py, run.py, and cli.py so dsagent / dsagent chat / dsagent run no longer raise 'NoneType' object has no attribute 'lower' when run without --model or config.
  • Validation: validate_configuration() now guards against None/empty model and raises a clear ConfigurationError instead of AttributeError.
  • Workflow: Add .cursor/rules/workflow-branch-pr.mdc and update AGENTS.md so changes are never committed directly to main (issue → branch → fix → test → PR).
  • Version: Bump to 0.9.1.
  • Test: ConversationalAgentConfig default model is None (resolved at runtime).

Made with Cursor

nmlemus and others added 4 commits February 18, 2026 23:38
)

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@nmlemus nmlemus merged commit ff21778 into main Feb 19, 2026
10 checks passed
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.

Fix: Configuration Error when running dsagent without --model or config

1 participant