()
| 55 | }); |
| 56 | |
| 57 | function managedModelsResponse(): Response { |
| 58 | return new Response( |
| 59 | JSON.stringify({ |
| 60 | data: [ |
| 61 | { |
| 62 | id: 'kimi-for-coding', |
| 63 | context_length: 262144, |
| 64 | supports_reasoning: true, |
| 65 | }, |
| 66 | ], |
| 67 | }), |
| 68 | { status: 200, headers: { 'Content-Type': 'application/json' } }, |
| 69 | ); |
| 70 | } |
| 71 | |
| 72 | function fetchInputUrl(input: unknown): string { |
| 73 | if (typeof input === 'string') return input; |