Model dropdown stays empty for OpenAI-compatible providers whose /v1/models is not OpenAI-shaped (e.g. Anthropic) — please allow manual model entry
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- ai, api, backend-api-design
Research direction
Start at Settings → Summary → New Summary Template and trace how the Model dropdown is populated from GET /v1/models. Compare that flow with the working POST /v1/chat/completions path. Done means a user can enter a model id manually when listing fails or is empty and save a template for an OpenAI-compatible provider.
Written by the indexing model from the issue text.
Description
Summary
Scriberr can talk to Anthropic through the OpenAI-compatible provider setting, but no summary
template can be created because the Model dropdown stays empty. The chat endpoint works
fine — only the model listing fails, and it appears the dropdown is populated from it.
Same situation would hit any OpenAI-compatible provider that does not expose a /v1/models
endpoint in OpenAI's shape.
Setup
- Scriberr v1.2.0, CPU Docker image, Linux (Synology DSM)
- Settings → LLMs → provider OpenAI
- OpenAI API Key: an Anthropic API key (
sk-ant-…) - OpenAI Base URL:
https://api.anthropic.com/v1 - Configuration saved successfully
What works
POST /v1/chat/completions against that base URL returns a normal OpenAI-shaped response:
$ curl -s https://api.anthropic.com/v1/chat/completions \
-H "Authorization: Bearer sk-ant-…" \
-H "Content-Type: application/json" \
-d '{"model":"claude-haiku-4-5-20251001","messages":[{"role":"user","content":"Sag Hallo"}],"max_tokens":20}'
{"id":"msg_011Cekh25Yqts4rmvPJ9ATkx","choices":[{"finish_reason":"length","index":0,
"message":{"role":"assistant","content":"Hallo! Wie geht's dir? Wie kann ich"}}],
"created":1788629478,"model":"claude-haiku-4-5-20251001","object":"chat.completion",
"usage":{"completion_tokens":20,"prompt_tokens":13,"total_tokens":33}}
So authentication, billing and the request/response format are all fine.
What fails
GET /v1/models on the same base URL, with the same Bearer token, is rejected because Anthropic
requires an extra header that an OpenAI client does not send:
$ curl -s https://api.anthropic.com/v1/models \
-H "Authorization: Bearer sk-ant-…"
{"type":"error","error":{"type":"invalid_request_error",
"message":"anthropic-version: header is required"},"request_id":"req_011Cekh5vZxSfqhUs3GDBMPP"}
Effect
Settings → Summary → New Summary Template: the Model dropdown offers nothing, and the
template cannot be saved. The provider is therefore unusable even though summarization requests
themselves would succeed.
Suggested fix
Either of these would solve it:
- Make the Model field a combobox that accepts a free-text model id when the listing is empty or
fails. The model name is all the chat endpoint needs. - Add an optional "extra headers" field per provider, so users can supply e.g.
anthropic-version: 2023-06-01and the listing starts working.
Option 1 is the smaller change and helps every OpenAI-compatible backend with a non-standard or
missing models endpoint.
Happy to test a build.
- Dominant language
- Go
- Stars
- 3.1k
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rishikanthc/Scriberr
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rishikanthc/Scriberr#456 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
rishikanthc/Scriberr#486 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
rishikanthc/Scriberr#479 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 50/100
rishikanthc/Scriberr#477 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 54/100
rishikanthc/Scriberr#475 ·
All issues in rishikanthc/Scriberr
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100