Skip to content
86% off$349 $48.86code BF2026

Guides

Goose "No provider configured. Run goose configure first"

Fix Goose's "No provider configured. Run 'goose configure' first" panic and the 404 Not Found error with a valid Claude key, plus Windows and llama.cpp causes.

TroubleshootingUpdated 5 min read

On this page

You ran Goose and got this:

text
thread 'main' panicked at /usr/src/myapp/crates/goose-cli/src/session/builder.rs:271:10:
No provider configured. Run 'goose configure' first

Or Goose Desktop answered a Claude request with Request failed with status: 404 Not Found, even though the same key works in curl. This page covers both, plus the llama.cpp connection errors that show up in the same reports.

We don't make Goose. The GitHub issues behind this page (last activity we saw: December 2025) did not record a confirmed fix for every variant. Each section says what is known and marks what is a reasonable check rather than a verified cure.

Why it happens

Causes are listed most common first.

  1. Setup was never finished. Goose needs a provider and a model saved before a session can start. The panic means it found neither.
  2. You are running a different Goose than the one you configured. A script install plus a package-manager install, or a CLI plus a desktop app, can leave two copies. Whether the desktop app and the CLI share one saved configuration is not something we could verify.
  3. The install failed partway. One reported case is Windows Git Bash, where Error: Incorrect function. (os error 1) appeared first and "No provider configured" followed. The threads did not resolve why Git Bash fails, so treat the panic there as a side effect.
  4. For the 404: the URL Goose calls or the model name it requests doesn't exist for your key. A bad key normally returns an authorization error (401 or 403), not a 404. A working curl proves the key is valid, not that Goose sends the same URL and model.
  5. For llama.cpp: nothing is listening at the address Goose uses.

Fix the "No provider configured" panic

1. Check which Goose you are running

  1. Open the terminal you normally use for Goose.
  2. On macOS or Linux, run which goose. In Windows PowerShell, run Get-Command goose.
  3. If the path is not the install you expected, remove the extra copy or call the one you want by its full path.

2. Run the configuration

  1. Run goose configure.
  2. Choose the provider option and pick your provider.
  3. Enter the API key when asked, then choose a model.
  4. Run goose session again.

If the panic returns right after a clean configure, go to "If nothing works" below.

3. Fix a failed install first (Windows)

If you saw Error: Incorrect function. (os error 1) in Git Bash, don't keep configuring on top of a half-finished install. Goose's installation page lists a Windows installer and a portable ZIP as options (as of November 2026). Try one of those instead of the Git Bash script, then run goose configure from PowerShell or Command Prompt. This is an untested workaround, not a confirmed fix.

Fix "404 Not Found" with a valid Claude key

A 404 means the server did not find what was requested. With a good key, the suspects are the model name and the URL.

1. Check the model name against what your key can see

This lists the models available to your key and changes nothing:

bash
curl https://api.anthropic.com/v1/models \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2023-06-01"

Compare an ID from that list with the model selected in Goose. Use one exactly as listed, without edits or old aliases.

2. Remove custom hosts and proxies

If you set a custom host, base URL or proxy for the Anthropic provider, clear it and test again. A leftover address from another provider is an easy way to get a 404.

3. Update Goose

Goose's repository moved to the aaif-goose organization in April 2026 and its docs moved to goose-docs.ai, so older links and instructions may be stale. Update to the latest release using the method you installed with (installer, Homebrew cask or package).

4. Re-enter the provider

Run goose configure for the CLI, or open the provider settings in the desktop app. Configure and test each one you use, since sharing between them is unverified.

Fix llama.cpp connection errors

When the provider is a local llama.cpp server, Goose can't connect if nothing is listening at the configured address. Test the address directly:

bash
curl http://localhost:8080/v1/models

The llama.cpp server commonly uses port 8080, but check the port you started it with. If the command fails, start the server or correct the port in Goose. MLX's server and LocalAI also default to port 8080, so only one of them can run there at a time.

Quick reference

SymptomLikely causeFix
Panic: "No provider configured"Setup unfinished or wrong installgoose configure, then check which goose
Incorrect function. (os error 1) then the panicFailed Git Bash installUse the Windows installer or ZIP, then configure
404 with a valid keyWrong model name or URLList models with curl, clear custom host
Connection error to llama.cppServer not running or wrong portcurl the server, fix the port

Checklist before you try again

  • Only one Goose install is on your PATH, and it is the one you configure.
  • goose configure finished without errors and saved a provider and a model.
  • The model ID matches one from your provider's model list.
  • No stale custom host or proxy is set.
  • A local server, if you use one, answers on the port Goose points to.

If nothing works

Add to the existing Goose issues on GitHub or open a new one in the project's repository. Goose's documentation site is goose-docs.ai. Include:

  • your OS and how you installed Goose (installer, ZIP, Homebrew, script)
  • the Goose version you run
  • the full error text, including the panic line
  • the provider and model you chose, with the key removed
  • the steps above you already tried
text
Goose fails to start a session with: "No provider configured. Run 'goose configure' first"
OS: <your OS and version>
Install method: <installer / ZIP / Homebrew / script>
Goose version: <output of goose --version>
Provider and model chosen: <provider, model> (key removed)
Already tried: goose configure, checked which goose, reinstalled.
Full error output is attached below.

Common questions

Does the panic mean my API key is invalid?

No. It means Goose found no provider at all, before it tried any key. A bad key shows up later as an authorization error.

Why does curl work but Goose returns 404?

curl only proves the key is valid for the request you typed. Goose sends its own URL and model name, and a mismatch in either gives a 404.

Do I need to configure the desktop app and the CLI separately?

We couldn't verify that they share settings. Configure and test each one you use.

I run Goose inside Sledbot. Does the same fix apply?

Yes. Sledbot lists Goose as a supported agent, and its Log in… for Goose runs goose configure in a terminal pane. See Start an agent on a task.

Every app.
One purchase.