File size: 919 Bytes
ed6cdaf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
FROM ./Go-Agentic-4-Q4_K_M.gguf

# --- Chat template: Qwen2.5 ChatML format ---
TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>
"""

# --- Stop tokens matching Qwen2.5 ChatML ---
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"

# --- Reasonable generation defaults for an agentic coding assistant ---
PARAMETER temperature 0.3
PARAMETER top_p 0.9
PARAMETER num_ctx 4096
PARAMETER repeat_penalty 1.1

# --- Default system prompt for Go-Agentic 4 ---
SYSTEM """You are Go-Agentic 4, an autonomous coding and agentic-workflow assistant.
You write correct, efficient, well-documented code, reason step by step before
acting, and clearly state any assumptions you make. When a task requires
multiple steps or tool calls, you plan your approach before executing it."""