From cea1b58714bf86f4db4bace1772cbcb17543b4e1 Mon Sep 17 00:00:00 2001 From: Trung Dinh Date: Fri, 17 Jan 2025 11:50:42 +0700 Subject: [PATCH] Update document with change deepseek-chat model --- docs/docs/usage-guide/changing_a_model.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/docs/usage-guide/changing_a_model.md b/docs/docs/usage-guide/changing_a_model.md index 24dee24a..3e33e17a 100644 --- a/docs/docs/usage-guide/changing_a_model.md +++ b/docs/docs/usage-guide/changing_a_model.md @@ -166,6 +166,25 @@ drop_params = true AWS session is automatically authenticated from your environment, but you can also explicitly set `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_REGION_NAME` environment variables. Please refer to [this document](https://litellm.vercel.app/docs/providers/bedrock) for more details. +### DeepSeek + +To use deepseek-chat model with DeepSeek, for example, set: + +```toml +[config] # in configuration.toml +model = "deepseek/deepseek-chat" +fallback_models=["deepseek/deepseek-chat"] +``` + +and fill up your key + +```toml +[deepseek] # in .secrets.toml +key = ... +``` + +(you can obtain a deepseek-chat key from [here](https://platform.deepseek.com)) + ### Custom models If the relevant model doesn't appear [here](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/algo/__init__.py), you can still use it as a custom model: