岩仔88 1 month ago
parent ee7fe89041
commit a31fc8eac4

@ -32,6 +32,9 @@ public static function error_echo($code, $replace = [])
public static function error_exit($exit)
{
if (is_array($exit)) {
$exit = response()->json($exit)->setEncodingOptions(JSON_UNESCAPED_UNICODE);
}
throw new HttpResponseException($exit);
}

@ -1,42 +0,0 @@
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["oh-my-openagent"],
"mcp": {
"playwright-server": {
"enabled": true,
"type": "local",
"command": ["npx", "-y", "@executeautomation/playwright-mcp-server"]
}
},
"provider":{
"minimax-yangzong": {
"npm": "@ai-sdk/anthropic",
"options": {
"baseURL": "https://api.minimaxi.com/anthropic/v1",
"apiKey": "{env:YANG_MINMAX_KEY}"
},
"models": {
"MiniMax-M2.7": {
"name": "MiniMax-M2.7"
}
}
},
"yan-ZhiPu": {
"options": {
"baseURL": "https://open.bigmodel.cn/api/coding/paas/v4",
"apiKey": "{env:YAN_ZHIPU_API_KEY}"
},
"models": {
"GLM-4.7": {
"name": "GLM-4.7"
},
"GLM-5": {
"name": "GLM-5"
},
"GLM-5.1": {
"name": "GLM-5.1"
}
}
}
}
}
Loading…
Cancel
Save