Skip to content

[Bug]: provider setup offered removed model and now stuck as everything is trying to route through provider API #2768

@lukehinds

Description

@lukehinds

Bug Description

During the onboarding I selected ClaudeCode. I went to the Anthropic OAuth 2 browser delegation to get an API token from Anthropic, which I then fed back into the Forge CLI. I was then offered a list of models and I selected "claude-3-5-haiku-20241022"

I'm now stuck. I cannot change the model, can't change the provider, because everything is trying to root through Anthropic, and it errors because the model doesn't exist.

Image

I thought I could then just changed the model in the config ~/.forge/.forge.toml , but there doesn't seem to be a field for setting the model.

The model is obvs cached somewhere in a file, but I'm just not aware of its whereabouts and I can't find anything in the documentation.

Steps to Reproduce

as above

Expected Behavior

You should be able to change the model when the model entry is wrong. And also, I'm not sure if every request should be routed through the model provider's APIs. If I type the config flag, I don't see why that needs to go through a provider API.

Image

Actual Behavior

Document where to change the model or allow people to reconfigure models providers and view the edit when the provider model or provider connection specifics are somehow not configured correctly.

Error Logs

Forge Version

2.4.0

Operating System

macOS

OS Version

15.6.1

AI Provider

Anthropic

Model

claude-3-5-haiku-20241022

Installation Method

Other

Configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions