mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-04 05:39:06 +00:00
Merge branch 'master' of github.com:khoj-ai/khoj into features/add-chat-controls
This commit is contained in:
@@ -267,7 +267,7 @@ export default function Agents() {
|
||||
|
||||
const modelOptions: ModelOptions[] = userConfig?.chat_model_options || [];
|
||||
const selectedChatModelOption: number = userConfig?.selected_chat_model_config || 0;
|
||||
const isSubscribed: boolean = isUserSubscribed(userConfig);
|
||||
const isSubscribed: boolean = userConfig?.is_active || false;
|
||||
|
||||
// The default model option should map to the item in the modelOptions array that has the same id as the selectedChatModelOption
|
||||
const defaultModelOption = modelOptions.find(
|
||||
|
||||
Reference in New Issue
Block a user