You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should [harness.kimi] carry the Kimi provider and its API-key variable? #1924
Spec review of #1923 (the Kimi Code Harness, #1888), finding P3: the Ticket's Key interfaces say "[harness.kimi] config: Model, provider, and the name of the API-key environment variable", but [harness.kimi] has only model and effort.
Evidence
src/config.rs and docs/guide.md: [harness.kimi] has model (an alias in Kimi Code's config) and effort (always blank).
The provider and its key variable live in Kimi Code's own config.toml, for example [providers.fireworks] type = "openai", base_url = "https://api.fireworks.ai/inference/v1", api_key_env = "FIREWORKS_API_KEY", plus a [models."kimi-k3.1-pro"] alias. thirdshift reads them through kimi provider list --json (src/harness/kimi/catalog.rs, Provider { base_url, api_key_env }) for the Trial proxy's hosts and to pass the key variable into a Trial sandbox.
This meets "a Fireworks Model is set up as an OpenAI-compatible provider whose key comes from an environment variable, never written into the repository", but not the stated config keys.
Why the call is not the implementer's
The Ticket's Key interfaces name the config shape, and #1872's Grader panel may expect to set a Kimi seat's provider and key variable from thirdshift's own config. Keeping one source (Kimi's config) or adding provider/api_key_env to [harness.kimi] (and having thirdshift write or override Kimi's provider) is an interface decision for the Spec owner or the Day shift.
Activity