@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 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-B5xq9aNx.js");
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: 6.25,
455
- cachedInput: .5,
456
- input: 5,
454
+ cacheCreationInput: 5,
455
+ cachedInput: .4,
456
+ input: 4,
457
457
  maxInputTokens: 272e3,
458
- output: 30
458
+ output: 20
459
459
  }, {
460
- cacheCreationInput: 12.5,
461
- cachedInput: 1,
462
- input: 10,
463
- output: 45
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(config)];
6264
+ responsesPayload.tools = [buildResponsesWebSearchTool({
6265
+ ...config,
6266
+ searchContextSize: "low"
6267
+ })];
6265
6268
  responsesPayload.tool_choice = void 0;
6266
6269
  responsesPayload.reasoning = {
6267
- effort: "medium",
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-D9qHYZ03.js.map
10712
+ //# sourceMappingURL=server-oZS_bQYn.js.map