Merge branch 'master' of github.com:khoj-ai/khoj into features/add-chat-controls

This commit is contained in:
sabaimran
2025-01-29 14:58:15 -08:00
3 changed files with 17 additions and 4 deletions

View File

@@ -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(