billion-context 0.1.134 → 0.1.135-pr.1105.993
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -48567,6 +48567,7 @@ function createOpencodeV2Setup(options = {}) {
|
|
|
48567
48567
|
if (!headers || typeof headers.set !== "function" || !sid || !state2.proxyBase) return;
|
|
48568
48568
|
headers.set("x-bili-plugin-conversation", sid);
|
|
48569
48569
|
headers.set("x-bili-plugin", "opencode");
|
|
48570
|
+
headers.set("x-bili-plugin-instructions-mutable", "1");
|
|
48570
48571
|
const model = e.model;
|
|
48571
48572
|
if (model && typeof model.providerID === "string" && typeof model.id === "string") {
|
|
48572
48573
|
const key = `${model.providerID}/${model.id}`;
|
|
@@ -49108,6 +49109,7 @@ function createV1ServerHooks(origin, ctx, deps = {}) {
|
|
|
49108
49109
|
}
|
|
49109
49110
|
output.headers["x-bili-plugin"] = "opencode";
|
|
49110
49111
|
output.headers["x-bili-plugin-conversation"] = input.sessionID;
|
|
49112
|
+
output.headers["x-bili-plugin-instructions-mutable"] = "1";
|
|
49111
49113
|
const model = input.model;
|
|
49112
49114
|
if (model && typeof model.providerID === "string" && typeof model.id === "string") {
|
|
49113
49115
|
const key = `${model.providerID}/${model.id}`;
|