Repository navigation
Expand file tree
/
Copy pathCodeContinue.sublime-settings
More file actions
54 lines (41 loc) · 2.19 KB
/
Copy pathCodeContinue.sublime-settings
File metadata and controls
54 lines (41 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
// API endpoint URL (OpenAI-compatible v1 format)
// Examples:
// - OpenAI: "https://api.openai.com/v1/chat/completions"
// - Local: "http://localhost:8000/v1/chat/completions"
"endpoint": "http://localhost:8000/v1/chat/completions",
// Model name to use for completions
"model": "",
// API key for authentication (optional, only if endpoint requires it)
"api_key": "",
// Optional Chat overrides (falls back to global endpoint/model if omitted):
// "chat_endpoint": "https://api.anthropic.com/v1/messages",
// "chat_model": "claude-3-5-sonnet-20241022",
// "chat_api_key": "sk-ant-...",
// Optional Edit/Refactor overrides (falls back to global endpoint/model if omitted):
// "edit_endpoint": "https://api.openai.com/v1/chat/completions",
// "edit_model": "gpt-4o",
// "edit_api_key": "sk-...",
// Number of lines of context to send to the model
"max_context_lines": 30,
// Request timeout in milliseconds
"timeout_ms": 30000,
// Languages to enable suggestions for
"trigger_language": ["python", "cpp", "javascript"],
// Automatically trigger code suggestions on every Enter / newline press.
// Default is false: suggestions are only triggered on-demand via your keybinding
// (e.g. Ctrl+Enter) or the Command Palette, giving you total control.
"auto_suggest_on_enter": false,
// Stream responses in real-time in the Chat panel
"stream": true,
// Show model name and activity in the Sublime Text status bar
"status_bar": true,
// Confirm edits with interactive diff review before replacing selection
"confirm_edits": true,
// Enable debug logging to console (View > Show Console)
"debug": false,
// System prompt sent to the model for inline completions.
// Set to "" to use the built-in default (shown below).
// Override this to tune smaller models or suppress docstrings/inline comments.
"system_prompt": "You are a code completion expert. Output ONLY the code continuation without any markdown formatting, backticks, explanations, comments, or inline comments. Write clean code without any commentary. Do NOT include the <CURSOR_HERE> marker in your response."
}