mirror of
https://github.com/jasonxu114514/opencode2api.git
synced 2026-12-05 08:02:53 +00:00
Merge pull request #126 from TiaraBasori/chore/opencode-2.0.32-shape
chore(upstream): sync the /inference lane shape with OpenCode 2.0.32
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -178,7 +178,7 @@
|
||||
}
|
||||
},
|
||||
"shell": {
|
||||
"description": "Execute a shell command and return its output. Commands run on Windows using powershell. Quote file paths containing spaces or special characters. Prefer dedicated tools over shell commands when possible. When output is large, the full result is saved to a file and a truncated preview is returned. Rely on automatic truncation unless filtering the output is more useful. Commands accept an optional timeout, background commands have no timeout by default. Background commands return immediately, and you will be notified when they complete.",
|
||||
"description": "Execute a shell command and return its output. Commands run on Linux using bash. Quote file paths containing spaces or special characters. Prefer dedicated tools over shell commands when possible. When output is large, the full result is saved to a file and a truncated preview is returned. Rely on automatic truncation unless filtering the output is more useful. Commands accept an optional timeout, background commands have no timeout by default. Background commands return immediately, and you will be notified when they complete.",
|
||||
"parameters": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
// /inference lane. Upstream accepts a range of releases (the version number
|
||||
// itself is not validated), so this only needs bumping when it starts rejecting
|
||||
// older ones.
|
||||
const clientVersion = "2.0.29"
|
||||
const clientVersion = "2.0.32"
|
||||
|
||||
// legacyClientVersion is the pre-2.x OpenCode release reported on the legacy
|
||||
// /zen/v1 lane, matching the v1.3.7 User-Agent shape.
|
||||
|
||||
Reference in new issue
Block a user