@yourgpt/copilot-sdk 1.1.0 → 1.2.0

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.
@@ -1390,19 +1390,6 @@ function isToolResult(message) {
1390
1390
  return message.role === "tool" && !!message.tool_call_id;
1391
1391
  }
1392
1392
 
1393
- // src/core/types/config.ts
1394
- var DEFAULT_MODELS = {
1395
- openai: "gpt-4o",
1396
- anthropic: "claude-3-5-sonnet-latest",
1397
- google: "gemini-pro",
1398
- groq: "llama-3.1-70b-versatile",
1399
- ollama: "llama3",
1400
- custom: "default"
1401
- };
1402
- function getDefaultModel(provider) {
1403
- return DEFAULT_MODELS[provider] || "default";
1404
- }
1405
-
1406
1393
  // src/core/types/actions.ts
1407
1394
  function actionToTool(action) {
1408
1395
  const properties = {};
@@ -2721,7 +2708,6 @@ function createThreadManager(config, callbacks) {
2721
2708
  }
2722
2709
 
2723
2710
  exports.CLOUD_MAX_FILE_SIZE = CLOUD_MAX_FILE_SIZE;
2724
- exports.DEFAULT_MODELS = DEFAULT_MODELS;
2725
2711
  exports.DEFAULT_YOURGPT_ENDPOINT = DEFAULT_YOURGPT_ENDPOINT;
2726
2712
  exports.SimpleThreadManagerState = SimpleThreadManagerState;
2727
2713
  exports.ThreadManager = ThreadManager;
@@ -2767,7 +2753,6 @@ exports.getAttachmentTypeFromMime = getAttachmentTypeFromMime;
2767
2753
  exports.getConsoleErrors = getConsoleErrors;
2768
2754
  exports.getConsoleLogs = getConsoleLogs;
2769
2755
  exports.getConsoleWarnings = getConsoleWarnings;
2770
- exports.getDefaultModel = getDefaultModel;
2771
2756
  exports.getFailedRequests = getFailedRequests;
2772
2757
  exports.getNetworkRequests = getNetworkRequests;
2773
2758
  exports.getPrimaryTool = getPrimaryTool;
@@ -2798,5 +2783,5 @@ exports.toolToAnthropicFormat = toolToAnthropicFormat;
2798
2783
  exports.toolToOpenAIFormat = toolToOpenAIFormat;
2799
2784
  exports.zodObjectToInputSchema = zodObjectToInputSchema;
2800
2785
  exports.zodToJsonSchema = zodToJsonSchema;
2801
- //# sourceMappingURL=chunk-42YQ4ATO.cjs.map
2802
- //# sourceMappingURL=chunk-42YQ4ATO.cjs.map
2786
+ //# sourceMappingURL=chunk-MTFU6EHR.cjs.map
2787
+ //# sourceMappingURL=chunk-MTFU6EHR.cjs.map