mod: config for gemma
This commit is contained in:
parent
7fa236923d
commit
a342645c4b
1 changed files with 22 additions and 36 deletions
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"plugin": [],
|
||||
"theme": "system",
|
||||
"model": "halo/qwen3-coder-next:latest",
|
||||
"small_model": "halo/gemma3:4b",
|
||||
"small_model": "gemma3:4b",
|
||||
"provider": {
|
||||
"halo": {
|
||||
"npm": "@ai-sdk/openai-compatible",
|
||||
|
|
@ -22,43 +22,29 @@
|
|||
},
|
||||
"gemma3:4b": {
|
||||
"name": "Gemma *",
|
||||
"capabilities": {
|
||||
"temperature": false,
|
||||
"reasoning": false,
|
||||
"attachment": false,
|
||||
"toolcall": true,
|
||||
"input": {
|
||||
"text": true,
|
||||
"audio": false,
|
||||
"image": true,
|
||||
"video": false,
|
||||
"pdf": false
|
||||
"attachment": true,
|
||||
"tool_call": false,
|
||||
"modalities": {
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
], // Explicitly declare image support
|
||||
"output": [
|
||||
"text"
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"text": true,
|
||||
"audio": false,
|
||||
"image": false,
|
||||
"video": false,
|
||||
"pdf": false
|
||||
},
|
||||
"interleaved": false
|
||||
},
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cache": {
|
||||
"read": 0,
|
||||
"write": 0
|
||||
}
|
||||
},
|
||||
"options": {},
|
||||
"limit": {
|
||||
"context": 0,
|
||||
"output": 0
|
||||
"context": 100000, // Maximum context window (input + output)
|
||||
"output": 8192 // Maximum output tokens
|
||||
},
|
||||
"options": {
|
||||
"num_ctx": 16000 // Context window size for Ollama
|
||||
},
|
||||
"headers": {},
|
||||
"family": "",
|
||||
"release_date": "",
|
||||
"family": "gemma",
|
||||
"release_date": "13 March 2025",
|
||||
"variants": {}
|
||||
}
|
||||
}
|
||||
|
|
@ -67,7 +53,7 @@
|
|||
"server": {
|
||||
"port": 4096,
|
||||
"hostname": "0.0.0.0",
|
||||
"mdns": true,
|
||||
"mdns": false,
|
||||
"cors": [
|
||||
"https://example.com"
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue