mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-16 05:01:03 +03:00
update inference headers
This commit is contained in:
@@ -234,6 +234,9 @@ export async function handler(
|
||||
}
|
||||
headers.set(k, v)
|
||||
})
|
||||
if (isNewInference) {
|
||||
headers.set("x-opencode-model", model)
|
||||
}
|
||||
headers.delete("host")
|
||||
headers.delete("content-length")
|
||||
if (!isNewInference) {
|
||||
|
||||
Reference in New Issue
Block a user