(host: SlashCommandHost, config: KimiConfig)
| 53 | } |
| 54 | |
| 55 | function applyRuntimeConfig(host: SlashCommandHost, config: KimiConfig): void { |
| 56 | host.setAppState({ |
| 57 | availableModels: config.models ?? {}, |
| 58 | availableProviders: config.providers ?? {}, |
| 59 | }); |
| 60 | } |
no test coverage detected