khoj-ai / khoj

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (e.g gpt, claude, gemini, llama, qwen, mistral).
https://khoj.dev
GNU Affero General Public License v3.0
14.08k stars 702 forks source link

Add user conversation config to admin console #888

Closed aam-at closed 2 months ago

aam-at commented 3 months ago

The user can't select the chat model under settings because user conversation model is not set. This commit add an option for the user to configure the conversation model.

Screenshot from 2024-08-11 22-26-55

sabaimran commented 2 months ago

Hey @aam-at ! Thanks for raising the PR, but this issue was addressed separately in this PR: https://github.com/khoj-ai/khoj/pull/886 with this snippet of code:

    selected_chat_model_config = (
        ConversationAdapters.get_conversation_config(user) or ConversationAdapters.get_default_conversation_config()
    )

We also happened to add the same change you described in that same PR. Cheers, and thanks for all the contributions!