updated default model to big-pickle
This commit is contained in:
@@ -25,7 +25,7 @@ def col(cfg):
|
|||||||
except Exception: return False
|
except Exception: return False
|
||||||
|
|
||||||
def get_cfg(path="model.cfg"):
|
def get_cfg(path="model.cfg"):
|
||||||
d = {"endpoint": "https://opencode.ai/zen/v1", "model": "deepseek-v4-flash-free", "temperature": "0.7", "api_key": "-", "timeout": "60", "shell_timeout": "120", "max_al_iterations": "1000", "stream": "true", "color": "auto"}
|
d = {"endpoint": "https://opencode.ai/zen/v1", "model": "big-pickle", "temperature": "0.7", "api_key": "-", "timeout": "60", "shell_timeout": "120", "max_al_iterations": "1000", "stream": "true", "color": "auto"}
|
||||||
if os.path.exists(path):
|
if os.path.exists(path):
|
||||||
for ln in open(path, encoding="utf-8"):
|
for ln in open(path, encoding="utf-8"):
|
||||||
ln = ln.strip()
|
ln = ln.strip()
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ type Cfg struct {
|
|||||||
Color string
|
Color string
|
||||||
}
|
}
|
||||||
|
|
||||||
var defCfg = Cfg{"https://opencode.ai/zen/v1", "deepseek-v4-flash-free", "-", 0.7, 300, 120, 1000, true, "auto"}
|
var defCfg = Cfg{"https://opencode.ai/zen/v1", "big-pickle", "-", 0.7, 300, 120, 1000, true, "auto"}
|
||||||
|
|
||||||
func atoiD(s string, d int) int {
|
func atoiD(s string, d int) int {
|
||||||
if v, e := strconv.Atoi(strings.TrimSpace(s)); e == nil {
|
if v, e := strconv.Atoi(strings.TrimSpace(s)); e == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user