mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-26 01:25:35 +00:00
Replace the per-provider getCapability instance method, and the throwaway provider instantiation used only for capability probing, with a static getModelCapability(wire, model) entry point in kosong. The same capability-registry tables are consulted, so resolution stays behaviorally identical; it no longer constructs a temporary provider or forges an API key. Also drop the unused getContextSizeLimit interface method. |
||
|---|---|---|
| .. | ||
| args-validator.ts | ||
| echo-provider.ts | ||
| mock-provider.ts | ||
| simple-toolset.ts | ||
| step.ts | ||
| typed-tool.ts | ||