Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
INTERFERENCE_MODE | No | Obfuscation mode | uniform |
INTERFERENCE_LEVEL | No | Obfuscation level: light/medium/heavy | medium |
INTERFERENCE_TARGET | No | Obfuscation target: translation/all | translation |
INTERFERENCE_ENABLED | No | Enable zero-width character obfuscation | false |
SAFETY_MARGIN_TOKENS | No | Token safety buffer | 100 |
CONTEXT_FILLING_RATIO | No | Filling ratio (0.0–1.0) | 0.95 |
CONTEXT_WINDOW_TARGET | No | Target context window size | 128000 |
BAIDU_TRANSLATE_APP_ID | No | Baidu Translate App ID | |
BAIDU_TRANSLATE_ENABLED | No | Enable Baidu Translate API | false |
CONTEXT_FILLING_ENABLED | No | Enables smart context resource filling | false |
TOKEN_ESTIMATION_METHOD | No | Method for token estimation | tiktoken |
BAIDU_TRANSLATE_SECRET_KEY | No | Baidu Translate Secret Key |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
No tools |