aaif-goose / aaif-goose/goose

The Grid instruments are not selectable, though their metadata already ships in the canonical registry

Abierto Apto para principiantes
#11,878 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
54.2k
Forks
6.2k
Merge medio
3 d 4 h
PR fusionados (30 d)
240

Descripción

### Problem

Goose users who buy inference on [The Grid](https://thegrid.ai) have to hand-write a custom provider config to use it, even though Goose already carries the metadata needed to support it.

The Grid is a spot market for inference: an id names a market instrument — a task type (`text`, `code`, `agent`) paired with a quality tier (`standard`, `prime`, `max`), plus lab-scoped markets — rather than a fixed model. Each request is filled by whichever supplier is competitive at the time.

**Disclosure:** I work on The Grid, so this is a self-listing. Flagging that rather than leaving it to be discovered.

### Why this one is unusually cheap for Goose

`the-grid-ai` is **already in the canonical registry in-tree** — `crates/goose-provider-types/src/canonical/data/provider_metadata.json` plus nine instruments in `canonical_models.json`, regenerated from models.dev. So context limits, tool-call flags and model ordering already resolve; what's missing is only the provider entry that makes them selectable.

That also means this needs no `skip_canonical_filtering`, unlike most community providers.

### Verification plan

- `cargo test -p goose-providers --lib declarative` — `expose_declarative_providers_enumerates_all_bundled_json_files` and `all_bundled_providers_are_valid` both cover a new definition
- `cargo test -p goose-provider-types --lib` for the canonical name resolution
- a live call against the endpoint to confirm chat and streaming, which I can run and paste

### Note on ordering

I have a candidate implementation up at #11876. I opened it before reading the Ready-issue rule in CONTRIBUTING, which was my mistake — I'm filing this so the problem can be discussed properly, and I'm happy for the PR to sit closed or in draft until this issue reaches Ready, or to be discarded entirely if you'd rather shape the solution differently.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Los metadatos del proveedor ya se encuentran en los archivos de registro canónicos. Consulte crates/goose-provider-types/src/canonical/data/provider_metadata.json y canonical_models.json para ver las entradas existentes para 'the-grid-ai'. Falta un archivo de definición del proveedor que haga que estos instrumentos sean seleccionables. Ejecute las pruebas declarativas del proveedor para verificar que la nueva definición funciona. Una llamada en vivo al endpoint puede confirmar la funcionalidad de chat y streaming.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
rust
Área
ai-infra-agents
Tipo de issue
Nueva funcionalidad
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Activo
Claridad
Bien especificado
Aptitud para principiantes
75/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.