( stream: boolean = false, supportEfforts?: readonly string[], )
| 23 | } |
| 24 | |
| 25 | function createProvider( |
| 26 | stream: boolean = false, |
| 27 | supportEfforts?: readonly string[], |
| 28 | ): KimiChatProvider { |
| 29 | return new KimiChatProvider({ |
| 30 | model: 'kimi-k2-turbo-preview', |
| 31 | apiKey: 'test-key', |
| 32 | stream, |
| 33 | supportEfforts, |
| 34 | }); |
| 35 | } |
| 36 | |
| 37 | type KimiGenerationState = { |
| 38 | max_tokens?: number | undefined; |
no outgoing calls
no test coverage detected