Skip to content

[BUG] Can't seem to run without anthropic, but limits are too low #21

Description

@commandodev

Describe the bug
A clear and concise description of what the bug is.

Running sparc --model gpt-4o-mini-2024-07-18 --provider openrouter. If I run with message sparc only performs the research and stops. If I run with --chat I get the following message when asking to add a feature:

╭────────────────────────────────────── ❌ Tool Error ──────────────────────────────────────╮
│ Error: 1 validation error for ChatAnthropic api_key Input should be a valid string        │
│ [type=string_type, input_value=None, input_type=NoneType] For further information visit   │
│ https://errors.pydantic.dev/2.10/v/string_type Please fix your mistakes.                  │
╰───────────────────────────────────────────────────────────────────────────────────────────╯

.env:

# Optional: Expert knowledge configuration
EXPERT_PROVIDER=openai                   # Default provider for expert queries (anthropic|openai|openrouter)
EXPERT_MODEL=o1-preview                      # Model to use for expert knowledge queries

# Optional: Default provider settings
DEFAULT_PROVIDER=openrouter               # Default LLM provider (anthropic|openai|openrouter)
DEFAULT_MODEL=gpt-4o-mini-2024-07-18

# Optional: Development settings
DEBUG=false                              # Enable debug logging
COWBOY_MODE=false                        # Skip command approval prompts

Expected behavior
I'm expecting that I can use openai models to execute the development tasks.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  • OS: popos (ubuntu)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions