(baseURL: string)
| 135 | } |
| 136 | |
| 137 | export function openAIUsed(baseURL: string) { |
| 138 | return getBackendUrls('openai') == baseURL; |
| 139 | } |
| 140 | |
| 141 | export function getCurrentMode(chatState: ChatStateType): string { |
| 142 | if (openAIUsed(chatState.baseURL)) { |
no test coverage detected