@jeffreycao/copilot-api 2.3.1 → 2.3.3
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.
- package/dist/main.js +1 -1
- package/dist/{server-D9qHYZ03.js → server-oZS_bQYn.js} +14 -11
- package/dist/server-oZS_bQYn.js.map +1 -0
- package/dist/{start-B5xq9aNx.js → start-DDx8cKiL.js} +2 -2
- package/dist/{start-B5xq9aNx.js.map → start-DDx8cKiL.js.map} +1 -1
- package/package.json +1 -1
- package/dist/server-D9qHYZ03.js.map +0 -1
package/dist/main.js
CHANGED
|
@@ -30,7 +30,7 @@ if (isMcpFastPath(process.argv)) {
|
|
|
30
30
|
const { auth } = await import("./auth-rIQFsqw4.js");
|
|
31
31
|
const { debug } = await import("./debug-Db0SCVSP.js");
|
|
32
32
|
const { mcp } = await import("./mcp-fpSlKZxK.js");
|
|
33
|
-
const { start } = await import("./start-
|
|
33
|
+
const { start } = await import("./start-DDx8cKiL.js");
|
|
34
34
|
await runMain(defineCommand({
|
|
35
35
|
meta: {
|
|
36
36
|
name: "copilot-api",
|
|
@@ -451,16 +451,16 @@ const builtinProviderModelRegistry = new class BuiltinProviderModelRegistry {
|
|
|
451
451
|
output: 45
|
|
452
452
|
}] } },
|
|
453
453
|
"gpt-5.6-sol": { pricing: { tiers: [{
|
|
454
|
-
cacheCreationInput:
|
|
455
|
-
cachedInput: .
|
|
456
|
-
input:
|
|
454
|
+
cacheCreationInput: 5,
|
|
455
|
+
cachedInput: .4,
|
|
456
|
+
input: 4,
|
|
457
457
|
maxInputTokens: 272e3,
|
|
458
|
-
output:
|
|
458
|
+
output: 20
|
|
459
459
|
}, {
|
|
460
|
-
cacheCreationInput:
|
|
461
|
-
cachedInput:
|
|
462
|
-
input:
|
|
463
|
-
output:
|
|
460
|
+
cacheCreationInput: 10,
|
|
461
|
+
cachedInput: .8,
|
|
462
|
+
input: 8,
|
|
463
|
+
output: 30
|
|
464
464
|
}] } },
|
|
465
465
|
"gpt-5.6-terra": { pricing: { tiers: [{
|
|
466
466
|
cacheCreationInput: 2.5,
|
|
@@ -6261,10 +6261,13 @@ const prepareWebSearchResponsesPayload = (payload, options = {}) => {
|
|
|
6261
6261
|
tools: [],
|
|
6262
6262
|
stream: true
|
|
6263
6263
|
}, options.subagentAgentId);
|
|
6264
|
-
responsesPayload.tools = [buildResponsesWebSearchTool(
|
|
6264
|
+
responsesPayload.tools = [buildResponsesWebSearchTool({
|
|
6265
|
+
...config,
|
|
6266
|
+
searchContextSize: "low"
|
|
6267
|
+
})];
|
|
6265
6268
|
responsesPayload.tool_choice = void 0;
|
|
6266
6269
|
responsesPayload.reasoning = {
|
|
6267
|
-
effort: "
|
|
6270
|
+
effort: "low",
|
|
6268
6271
|
summary: "auto"
|
|
6269
6272
|
};
|
|
6270
6273
|
return responsesPayload;
|
|
@@ -10706,4 +10709,4 @@ server.route("/:provider/images", providerImageRoutes);
|
|
|
10706
10709
|
//#endregion
|
|
10707
10710
|
export { server };
|
|
10708
10711
|
|
|
10709
|
-
//# sourceMappingURL=server-
|
|
10712
|
+
//# sourceMappingURL=server-oZS_bQYn.js.map
|