(chatState: ChatStateType)
| 60 | } |
| 61 | |
| 62 | export function getSelectedModel(chatState: ChatStateType) { |
| 63 | return getBackendUrls('openai') == chatState.baseURL |
| 64 | ? chatState.openAIModel |
| 65 | : chatState.openrouterAIModel; |
| 66 | } |
| 67 | |
| 68 | // this state stores all information which |
| 69 | // should be stored e.g. in browser LocalStorage |
no test coverage detected