[FEATURE] Support a namespace default ModelConfig
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 54/100
Línea de trabajo
Start by tracing AgentTemplate creation and namespace changes in the UI, then inspect the UI model adapter that maps ModelConfig resource metadata; the issue says it must preserve the annotation. Check the chart configuration that generates the default ModelConfig and its existing providers.annotations support. Done means a single marked model is preselected, multiple or no marked models require a choice, explicit selections are preserved, and the chart annotation can be opted out.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
📋 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
Let operators mark a ModelConfig as the namespace default and preselect it when creating an AgentTemplate.
❓ Problem Statement / Motivation
The chart creates default-model-config, but the UI does not preselect it. Installations managing their own ModelConfigs also have no standard way to indicate which model users should start with.
💡 Proposed Solution
- Recognize
kagent.dev/is-default-model-config: "true"on ModelConfigs. - On template creation or namespace change, preselect the single marked model in that namespace. With none or multiple marked, require an explicit choice.
- Preserve explicit user selections. Shared models remain manually selectable.
- Mark the chart-generated ModelConfig by default, with an opt-out.
This would initially cover UI preselection. Defaulting omitted references in the CLI or controller could be considered separately.
🔄 Alternatives Considered
Keep relying on the fixed name, which does not cover custom ModelConfigs, or introduce a spec field, which requires a CRD change.
🎯 Affected Service(s)
UI Service
📚 Additional Context
#2200 added providers.annotations for the chart-generated ModelConfig. The backend already returns resource metadata; the UI model adapter would need to preserve the annotation.
- Lenguaje dominante
- Go
- Estrellas
- 4.5k
- Forks
- 937
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 150
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de kagent-dev/kagent
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
kagent-dev/kagent#3792 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
kagent-dev/kagent#3790 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
kagent-dev/kagent#3789 ·
Los mantenedores suelen responder en 1 día
-
[BUG] A2A lookups by task or context ID reveal whether another user's resource existsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
kagent-dev/kagent#3787 ·
Los mantenedores suelen responder en 1 día
-
[BUG] Python memory summarization fails for Gemini models: the request has no model namePosiblemente ocupada @BahaaMattar la tomó hace 6 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
kagent-dev/kagent#3710 ·
Los mantenedores suelen responder en 1 día
Todos los issues de kagent-dev/kagent
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
limitlessprojects/Go-Hybrid#4764 ·
Los mantenedores suelen responder en 1 día
-
[bug]: lint fails on main, generated CLI docs out of datePosiblemente ocupada @bupd la tomó hoy. Abiertobug documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
goharbor/harbor-cli#1180 ·
Los mantenedores suelen responder en 1 día
-
crane: mutate --env adds duplicate PATH on Windows images when key case differsPosiblemente ocupada @aad1tyaaaaa la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
google/go-containerregistry#2523 ·
Los mantenedores suelen responder en 4 días
-
bosh_io_stemcell_type: regular does not work for noble and resolute as it adds -go_agent as suffixAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
cloudfoundry/bosh-deployment-resource#138 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100