Skip to content

Commit e659702

Browse files
committed
docs: update .env
1 parent bda5ae9 commit e659702

File tree

2 files changed

+40
-5
lines changed

2 files changed

+40
-5
lines changed

.env.example

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ GOOGLE_APPLICATION_CREDENTIALS=./anthropic-vertex-credentials.json
77
HTTP_PROXY=
88
HTTPS_PROXY=
99

10+
# Conversation processing settings
11+
12+
# Handling of the first message
1013
# Possible values: `continue` | `remove`
1114
# default value: `remove`
1215
ENSURE_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

README.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff 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=
5656
CLOUD_ML_REGION=us-east5
5757
GOOGLE_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`
6468
ENSURE_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

0 commit comments

Comments
 (0)