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": [],
|
"plugin": [],
|
||||||
"theme": "system",
|
|
||||||
"model": "halo/qwen3-coder-next:latest",
|
"model": "halo/qwen3-coder-next:latest",
|
||||||
"small_model": "halo/gemma3:4b",
|
"small_model": "gemma3:4b",
|
||||||
"provider": {
|
"provider": {
|
||||||
"halo": {
|
"halo": {
|
||||||
"npm": "@ai-sdk/openai-compatible",
|
"npm": "@ai-sdk/openai-compatible",
|
||||||
|
|
@ -22,43 +22,29 @@
|
||||||
},
|
},
|
||||||
"gemma3:4b": {
|
"gemma3:4b": {
|
||||||
"name": "Gemma *",
|
"name": "Gemma *",
|
||||||
"capabilities": {
|
"temperature": false,
|
||||||
"temperature": false,
|
"reasoning": false,
|
||||||
"reasoning": false,
|
"attachment": true,
|
||||||
"attachment": false,
|
"tool_call": false,
|
||||||
"toolcall": true,
|
"modalities": {
|
||||||
"input": {
|
"input": [
|
||||||
"text": true,
|
"text",
|
||||||
"audio": false,
|
"image"
|
||||||
"image": true,
|
], // Explicitly declare image support
|
||||||
"video": false,
|
"output": [
|
||||||
"pdf": false
|
"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": {
|
"limit": {
|
||||||
"context": 0,
|
"context": 100000, // Maximum context window (input + output)
|
||||||
"output": 0
|
"output": 8192 // Maximum output tokens
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"num_ctx": 16000 // Context window size for Ollama
|
||||||
},
|
},
|
||||||
"headers": {},
|
"headers": {},
|
||||||
"family": "",
|
"family": "gemma",
|
||||||
"release_date": "",
|
"release_date": "13 March 2025",
|
||||||
"variants": {}
|
"variants": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -67,7 +53,7 @@
|
||||||
"server": {
|
"server": {
|
||||||
"port": 4096,
|
"port": 4096,
|
||||||
"hostname": "0.0.0.0",
|
"hostname": "0.0.0.0",
|
||||||
"mdns": true,
|
"mdns": false,
|
||||||
"cors": [
|
"cors": [
|
||||||
"https://example.com"
|
"https://example.com"
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue