aaif-goose / aaif-goose/goose

Provider request: Kyma API (OpenAI-compatible, declarative)

Đang mở Phù hợp với người mới
#11,865 1 bình luận 0 reaction 1 người được giao Được @jamadeo nhận Xem trên GitHub
Ngôn ngữ chính
Rust
Star
54.2k
Fork
6.2k
Merge trung bình
3 ngày 4 giờ
Pull request đã merge (30 ngày)
240

Mô tả

## Summary

Request to add Kyma API (https://kymaapi.com) as a declarative provider. Kyma is an OpenAI-compatible endpoint (`https://api.kymaapi.com/v1`, key in `KYMA_API_KEY`) in front of open and frontier language models, with per-model uptime measured from real traffic (https://kymaapi.com/status) and public usage rankings (https://kymaapi.com/rankings).

## Proposed change

A declarative provider in the same shape as the existing aggregator entries: one JSON definition under `crates/goose-providers/src/declarative/definitions/`, one registration line, one row in the providers table of the docs. `dynamic_models: true`, so goose reads the live catalog from `/v1/models` at configure time, with a static fallback list for first run.

The patch is ready on a fork (`kyma-api/goose`, branch `feat/kyma-provider`): `cargo check`, `cargo fmt --check`, `cargo clippy --all-targets -- -D warnings` and `cargo test --lib declarative` (11/11) pass on the pinned toolchain. Opening this issue first per CONTRIBUTING so it can be triaged to Ready before the PR.

## Maintenance

Kyma keeps the definition current when its catalog changes; contact hello@kymaapi.com.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

The work is adding a new declarative provider. Start by examining the existing provider definitions in `crates/goose-providers/src/declarative/definitions/` to understand the JSON structure. The patch is ready on a fork, so review the branch `feat/kyma-provider` to see the exact changes. Run the mentioned commands (`cargo check`, `cargo fmt --check`, `cargo clippy`, `cargo test --lib declarative`) to verify the implementation. Done looks like a new JSON file, a registration line, and an updated documentation table.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
ai-infra-agents, backend-api-design
Loại issue
Tính năng
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
75/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.