File tree Expand file tree Collapse file tree 2 files changed +40
-5
lines changed Expand file tree Collapse file tree 2 files changed +40
-5
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,23 @@ GOOGLE_APPLICATION_CREDENTIALS=./anthropic-vertex-credentials.json
77HTTP_PROXY =
88HTTPS_PROXY =
99
10+ # Conversation processing settings
11+
12+ # Handling of the first message
1013# Possible values: `continue` | `remove`
1114# default value: `remove`
1215ENSURE_FIRST_MODE = continue
16+
17+ # Message merging mode
18+ # Possible values: `all` | `only_system`
19+ # default value: `only_system`
20+ PROMPT_MERGE_MODE = only_system
21+
22+ # System message merging mode
23+ # Possible values: `merge_all` | `merge_top_user` | `merge_top_assistant` | `only_first_user` | `only_first_assistant` | `only_first_remove`
24+ # default value: `merge_top_user`
25+ SYSTEM_MERGE_MODE = merge_top_user
26+
27+ # Maximum token length for the conversation
28+ # default value: 4096
29+ MAX_TOKEN_LENGTH = 4096
Original file line number Diff line number Diff line change @@ -52,16 +52,34 @@ Here's a sample `.env` file:
5252
5353``` env
5454# Anthropic Vertex AI configuration
55- ANTHROPIC_VERTEX_PROJECT_ID=your-project-id
55+ ANTHROPIC_VERTEX_PROJECT_ID=
5656CLOUD_ML_REGION=us-east5
5757GOOGLE_APPLICATION_CREDENTIALS=./anthropic-vertex-credentials.json
5858
59- # Network proxy settings (if needed)
60- HTTPS_PROXY=http://your-proxy-url:port
59+ # Network proxy settings
60+ HTTP_PROXY=
61+ HTTPS_PROXY=
6162
62- # ENSURE_FIRST_MODE options: 'continue' | 'remove'
63- # Default: 'remove'
63+ # Conversation processing settings
64+
65+ # Handling of the first message
66+ # Possible values: `continue` | `remove`
67+ # default value: `remove`
6468ENSURE_FIRST_MODE=continue
69+
70+ # Message merging mode
71+ # Possible values: `all` | `only_system`
72+ # default value: `only_system`
73+ PROMPT_MERGE_MODE=only_system
74+
75+ # System message merging mode
76+ # Possible values: `merge_all` | `merge_top_user` | `merge_top_assistant` | `only_first_user` | `only_first_assistant` | `only_first_remove`
77+ # default value: `merge_top_user`
78+ SYSTEM_MERGE_MODE=merge_top_user
79+
80+ # Maximum token length for the conversation
81+ # default value: 4096
82+ MAX_TOKEN_LENGTH=4096
6583```
6684
6785## System Variables Explanation
You can’t perform that action at this time.
0 commit comments