(options: KimiIdentityOptions)
| 96 | } |
| 97 | |
| 98 | export function createKimiDefaultHeaders(options: KimiIdentityOptions): Record<string, string> { |
| 99 | return { |
| 100 | 'User-Agent': createKimiUserAgent(options), |
| 101 | ...createKimiDeviceHeaders({ |
| 102 | homeDir: options.homeDir, |
| 103 | version: options.version, |
| 104 | }), |
| 105 | }; |
| 106 | } |
| 107 | |
| 108 | /** |
| 109 | * Env var carrying extra headers applied to every outbound provider request |
no test coverage detected