(baseURL: string)
| 37 | ); |
| 38 | |
| 39 | export function getAPIURLs(baseURL: string) { |
| 40 | return { |
| 41 | chat: baseURL + '/chat/completions', |
| 42 | models: baseURL + '/models', |
| 43 | }; |
| 44 | } |
| 45 | |
| 46 | export function getBackendUrls(backend: 'openai' | 'openrouter') { |
| 47 | let baseURL; |
no outgoing calls
no test coverage detected