[FEATURE] List models from an OpenAI-compatible endpoint (LiteLLM) in the model form
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start from the ModelProviderConfig discovery contract added in #3494 and trace ListConfiguredProviders and WithProviderModelRefresher to their missing callers; the reconciler that should set Ready and the model form are the two ends. Read the linked draft PR #3752 and the closed #3423 before choosing between on-demand discovery and a persisted PostgreSQL inventory. Done means an admin-configured OpenAI-compatible gateway appears as a selectable provider and its models can be listed in the model form without manual IDs.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
📋 Prerequisites
- I have searched the existing issues to avoid creating a duplicate
- By submitting this issue, you agree to follow our Code of Conduct
📝 Feature Summary
List the models an OpenAI-compatible endpoint (e.g. a LiteLLM proxy) serves when creating a model in the UI, instead of typing the ID by hand.
❓ Problem Statement / Motivation
We run kagent against a LiteLLM proxy. The model form only offers the built-in catalogue per provider, so for a gateway every model ID has to be looked up and typed in.
ModelProviderConfig looks like the resource for this, and since #3494 it has the discovery contract (discoveryAuth, OpenAI-compatible only). As far as I can tell nothing uses it yet, in v1.0.1 or on main:
- no reconciler sets its
Readycondition, soListConfiguredProvidersis always empty WithProviderModelRefresherhas no caller, soListProviderModelswithrefresh: truefails with "provider model refresher is not configured"- without
refreshit returns NotFound, as there is no stored inventory
#3423 implemented discovery but was closed, and I could not find a follow-up.
💡 Proposed Solution
An admin declares the gateway once as a ModelProviderConfig, and anyone creating a model can pick it and choose from the models it lists right now.
How that is built is open. I have a small version that keeps no inventory at all and asks the endpoint on demand, and I can open it as a draft PR if that helps the discussion. It is not meant to cut across whatever is planned after #3423.
🔄 Alternatives Considered
Typing the model ID manually works today, it is just error-prone with a gateway that serves many models.
Persisting the discovered catalogue in PostgreSQL was suggested in the #3423 review. That would also serve reads without calling the endpoint, at the cost of a migration.
🎯 Affected Service(s)
Multiple services / System-wide
📚 Additional Context
Is discovery still planned along the lines of #3423, and is a smaller first step welcome in the meantime?
Our gateway also has a certificate from a private CA. For the controller that seems solvable today with a mounted bundle and SSL_CERT_FILE, so I left it out of this request.
🙋 Are you willing to contribute?
- I am willing to submit a PR for this feature
- Lingua principale
- Go
- Stelle
- 4.5k
- Fork
- 937
- Merge medio
- 1g 10h
- PR unite (30g)
- 150
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di kagent-dev/kagent
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
kagent-dev/kagent#3792 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
kagent-dev/kagent#3790 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
kagent-dev/kagent#3789 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] A2A lookups by task or context ID reveal whether another user's resource existsForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
kagent-dev/kagent#3787 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] Python memory summarization fails for Gemini models: the request has no model nameForse già presa @BahaaMattar l’ha presa 7 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
kagent-dev/kagent#3710 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di kagent-dev/kagent
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
limitlessprojects/Go-Hybrid#4764 ·
I maintainer di solito rispondono entro 1 giorno
-
[bug]: lint fails on main, generated CLI docs out of dateForse già presa @bupd l’ha presa oggi. Apertabug documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
goharbor/harbor-cli#1180 ·
I maintainer di solito rispondono entro 1 giorno
-
crane: mutate --env adds duplicate PATH on Windows images when key case differsForse già presa @aad1tyaaaaa l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
google/go-containerregistry#2523 ·
I maintainer di solito rispondono entro 4 giorni
-
bosh_io_stemcell_type: regular does not work for noble and resolute as it adds -go_agent as suffixAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
cloudfoundry/bosh-deployment-resource#138 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100