eggacheb commited on
Commit
351ced2
·
verified ·
1 Parent(s): c185059

Update librechat.yaml

Browse files
Files changed (1) hide show
  1. librechat.yaml +4 -40
librechat.yaml CHANGED
@@ -13,20 +13,6 @@ registration:
13
  # Definition of custom endpoints
14
  endpoints:
15
  custom:
16
- # Mistral AI API
17
- - name: "Mistral" # Unique name for the endpoint
18
- # For `apiKey` and `baseURL`, you can use environment variables that you define.
19
- # recommended environment variables:
20
- apiKey: "${MISTRAL_API_KEY}"
21
- baseURL: "https://api.mistral.ai/v1"
22
-
23
- # Models configuration
24
- models:
25
- # List of default models to use. At least one value is required.
26
- default: ["mistral-tiny", "mistral-small", "mistral-medium"]
27
- # Fetch option: Set to true to fetch models from API.
28
- fetch: true # Defaults to false.
29
-
30
  # Optional configurations
31
 
32
  # Title Conversation setting
@@ -36,44 +22,22 @@ endpoints:
36
  titleMethod: "completion" # Defaults to "completion" if omitted.
37
 
38
  # Title Model: Specify the model to use for titles.
39
- titleModel: "gpt-3.5-turbo" # Defaults to "gpt-3.5-turbo" if omitted.
40
 
41
  # Summarize setting: Set to true to enable summarization.
42
- summarize: false
43
 
44
  # Summary Model: Specify the model to use if summarization is enabled.
45
- summaryModel: "mistral-tiny" # Defaults to "gpt-3.5-turbo" if omitted.
46
 
47
  # Force Prompt setting: If true, sends a `prompt` parameter instead of `messages`.
48
  forcePrompt: false
49
 
50
- # The label displayed for the AI model in messages.
51
- modelDisplayLabel: "Mistral" # Default is "AI" when not set.
52
-
53
  # Add additional parameters to the request. Default params will be overwritten.
54
  addParams:
55
  safe_prompt: true # This field is specific to Mistral AI: https://docs.mistral.ai/api/
56
-
57
- # Drop Default params parameters from the request. See default params in guide linked below.
58
- # NOTE: For Mistral, it is necessary to drop the following parameters or you will encounter a 422 Error:
59
- dropParams: ["stop", "user", "frequency_penalty", "presence_penalty"]
60
 
61
- # OpenRouter.ai Example
62
- - name: "OpenRouter"
63
- # For `apiKey` and `baseURL`, you can use environment variables that you define.
64
- # recommended environment variables:
65
- # Known issue: you should not use `OPENROUTER_API_KEY` as it will then override the `openAI` endpoint to use OpenRouter as well.
66
- apiKey: "${OPENROUTER_KEY}"
67
- baseURL: "https://openrouter.ai/api/v1"
68
- models:
69
- default: ["gpt-3.5-turbo"]
70
- fetch: true
71
- titleConvo: true
72
- titleModel: "gpt-3.5-turbo"
73
- summarize: false
74
- summaryModel: "gpt-3.5-turbo"
75
- forcePrompt: false
76
- modelDisplayLabel: "OpenRouter"
77
 
78
  # See the Custom Configuration Guide for more information:
79
  # https://docs.librechat.ai/install/configuration/custom_config.html
 
13
  # Definition of custom endpoints
14
  endpoints:
15
  custom:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  # Optional configurations
17
 
18
  # Title Conversation setting
 
22
  titleMethod: "completion" # Defaults to "completion" if omitted.
23
 
24
  # Title Model: Specify the model to use for titles.
25
+ titleModel: "gpt-3.5-turbo-16k" # Defaults to "gpt-3.5-turbo" if omitted.
26
 
27
  # Summarize setting: Set to true to enable summarization.
28
+ summarize: true
29
 
30
  # Summary Model: Specify the model to use if summarization is enabled.
31
+ summaryModel: "gpt-3.5-turbo-16k" # Defaults to "gpt-3.5-turbo" if omitted.
32
 
33
  # Force Prompt setting: If true, sends a `prompt` parameter instead of `messages`.
34
  forcePrompt: false
35
 
 
 
 
36
  # Add additional parameters to the request. Default params will be overwritten.
37
  addParams:
38
  safe_prompt: true # This field is specific to Mistral AI: https://docs.mistral.ai/api/
39
+
 
 
 
40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
  # See the Custom Configuration Guide for more information:
43
  # https://docs.librechat.ai/install/configuration/custom_config.html