Skip to content

Accept a full chat-completions URL as the base URL - #4

Merged
trotterdylan merged 1 commit into
mainfrom
tolerate-full-endpoint-url
Sep 26, 2026
Merged

trotterdylan merged 1 commit into
mainfrom
tolerate-full-endpoint-url

Conversation

@trotterdylan

Copy link
Copy Markdown
Contributor

Configuring Fireworks with the URL from its docs produced a 404 and no briefs:

summarizer HTTP 404: Path not found: /v1/chat/completions/chat/completions

Providers document the full endpoint — Fireworks publishes https://api.fireworks.ai/inference/v1/chat/completions — so that is what gets pasted into a setting labelled "API base URL", and chatCompletionsUrl appended the path a second time.

Now either spelling works: the API root, the full endpoint, with or without a trailing slash. The setting label says so, and the skill gains a worked Fireworks example (base URL, model id, key).

Tests cover both Fireworks spellings plus the trailing-slash variants. 77 passing.

The live instance is already generating briefs — it needed only the setting corrected to the root form, which is why this is a robustness fix rather than the thing unblocking it.

🤖 Generated with Claude Code

Configuring Fireworks with the URL from its docs produced a 404:

  Path not found: /v1/chat/completions/chat/completions

Providers document the full endpoint, so that is what gets pasted into a setting
labelled "API base URL", and the code appended the path a second time. Accept
either spelling, say so in the label, and give the skill a worked Fireworks
example.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@trotterdylan
trotterdylan merged commit 08669e8 into main Sep 26, 2026
4 of 6 checks passed
@trotterdylan
trotterdylan deleted the tolerate-full-endpoint-url branch September 26, 2026 23:32
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.

1 participant