@yourgpt/llm-sdk 2.5.1-beta.2 → 2.5.1-beta.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.
@@ -540,6 +540,7 @@ var OpenAIAdapter = class _OpenAIAdapter {
540
540
  if (baseUrl.includes("generativelanguage.googleapis.com")) return "google";
541
541
  if (baseUrl.includes("x.ai")) return "xai";
542
542
  if (baseUrl.includes("azure")) return "azure";
543
+ if (baseUrl.includes("fireworks.ai")) return "fireworks";
543
544
  return "openai";
544
545
  }
545
546
  async getClient() {
@@ -538,6 +538,7 @@ var OpenAIAdapter = class _OpenAIAdapter {
538
538
  if (baseUrl.includes("generativelanguage.googleapis.com")) return "google";
539
539
  if (baseUrl.includes("x.ai")) return "xai";
540
540
  if (baseUrl.includes("azure")) return "azure";
541
+ if (baseUrl.includes("fireworks.ai")) return "fireworks";
541
542
  return "openai";
542
543
  }
543
544
  async getClient() {
@@ -527,6 +527,7 @@ var OpenAIAdapter = class _OpenAIAdapter {
527
527
  if (baseUrl.includes("generativelanguage.googleapis.com")) return "google";
528
528
  if (baseUrl.includes("x.ai")) return "xai";
529
529
  if (baseUrl.includes("azure")) return "azure";
530
+ if (baseUrl.includes("fireworks.ai")) return "fireworks";
530
531
  return "openai";
531
532
  }
532
533
  async getClient() {
@@ -525,6 +525,7 @@ var OpenAIAdapter = class _OpenAIAdapter {
525
525
  if (baseUrl.includes("generativelanguage.googleapis.com")) return "google";
526
526
  if (baseUrl.includes("x.ai")) return "xai";
527
527
  if (baseUrl.includes("azure")) return "azure";
528
+ if (baseUrl.includes("fireworks.ai")) return "fireworks";
528
529
  return "openai";
529
530
  }
530
531
  async getClient() {
@@ -513,6 +513,7 @@ var OpenAIAdapter = class _OpenAIAdapter {
513
513
  if (baseUrl.includes("generativelanguage.googleapis.com")) return "google";
514
514
  if (baseUrl.includes("x.ai")) return "xai";
515
515
  if (baseUrl.includes("azure")) return "azure";
516
+ if (baseUrl.includes("fireworks.ai")) return "fireworks";
516
517
  return "openai";
517
518
  }
518
519
  async getClient() {
@@ -511,6 +511,7 @@ var OpenAIAdapter = class _OpenAIAdapter {
511
511
  if (baseUrl.includes("generativelanguage.googleapis.com")) return "google";
512
512
  if (baseUrl.includes("x.ai")) return "xai";
513
513
  if (baseUrl.includes("azure")) return "azure";
514
+ if (baseUrl.includes("fireworks.ai")) return "fireworks";
514
515
  return "openai";
515
516
  }
516
517
  async getClient() {
@@ -465,6 +465,7 @@ var OpenAIAdapter = class _OpenAIAdapter {
465
465
  if (baseUrl.includes("generativelanguage.googleapis.com")) return "google";
466
466
  if (baseUrl.includes("x.ai")) return "xai";
467
467
  if (baseUrl.includes("azure")) return "azure";
468
+ if (baseUrl.includes("fireworks.ai")) return "fireworks";
468
469
  return "openai";
469
470
  }
470
471
  async getClient() {
@@ -463,6 +463,7 @@ var OpenAIAdapter = class _OpenAIAdapter {
463
463
  if (baseUrl.includes("generativelanguage.googleapis.com")) return "google";
464
464
  if (baseUrl.includes("x.ai")) return "xai";
465
465
  if (baseUrl.includes("azure")) return "azure";
466
+ if (baseUrl.includes("fireworks.ai")) return "fireworks";
466
467
  return "openai";
467
468
  }
468
469
  async getClient() {
@@ -489,6 +489,7 @@ var OpenAIAdapter = class _OpenAIAdapter {
489
489
  if (baseUrl.includes("generativelanguage.googleapis.com")) return "google";
490
490
  if (baseUrl.includes("x.ai")) return "xai";
491
491
  if (baseUrl.includes("azure")) return "azure";
492
+ if (baseUrl.includes("fireworks.ai")) return "fireworks";
492
493
  return "openai";
493
494
  }
494
495
  async getClient() {
@@ -487,6 +487,7 @@ var OpenAIAdapter = class _OpenAIAdapter {
487
487
  if (baseUrl.includes("generativelanguage.googleapis.com")) return "google";
488
488
  if (baseUrl.includes("x.ai")) return "xai";
489
489
  if (baseUrl.includes("azure")) return "azure";
490
+ if (baseUrl.includes("fireworks.ai")) return "fireworks";
490
491
  return "openai";
491
492
  }
492
493
  async getClient() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yourgpt/llm-sdk",
3
- "version": "2.5.1-beta.2",
3
+ "version": "2.5.1-beta.3",
4
4
  "description": "AI SDK for building AI Agents with any LLM",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",