@imenam/unified-llm-client 2.1.0 → 2.1.1

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.
@@ -10,6 +10,7 @@ export declare const MODELS: {
10
10
  GEMINI_3_PRO: Model;
11
11
  GEMINI_3_1_PRO: Model;
12
12
  GEMINI_3_FLASH: Model;
13
+ GEMINI_3_5_FLASH: Model;
13
14
  CLAUDE_SONNET_4_6: Model;
14
15
  CLAUDE_OPUS_4_6: Model;
15
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Models.d.ts","sourceRoot":"","sources":["../../src/core/Models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,eAAO,MAAM,MAAM;sBAWZ,KAAK;oBAYL,KAAK;iBAYL,KAAK;WAWL,KAAK;eAWL,KAAK;mBAWL,KAAK;qBAWL,KAAK;kBAWL,KAAK;oBAWL,KAAK;oBAaL,KAAK;uBAKL,KAAK;qBAKL,KAAK;CACX,CAAC"}
1
+ {"version":3,"file":"Models.d.ts","sourceRoot":"","sources":["../../src/core/Models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,eAAO,MAAM,MAAM;sBAWZ,KAAK;oBAYL,KAAK;iBAYL,KAAK;WAWL,KAAK;eAWL,KAAK;mBAWL,KAAK;qBAWL,KAAK;kBAWL,KAAK;oBAWL,KAAK;oBAaL,KAAK;sBAWL,KAAK;uBAKL,KAAK;qBAKL,KAAK;CACX,CAAC"}
@@ -107,6 +107,16 @@ exports.MODELS = {
107
107
  },
108
108
  currency: "USD",
109
109
  },
110
+ GEMINI_3_5_FLASH: {
111
+ provider: "gemini",
112
+ modelName: "gemini-3.5-flash",
113
+ costsPer1MTokens: {
114
+ prompt: 1.5,
115
+ prompt_cache: 0.15,
116
+ output: 9.0,
117
+ },
118
+ currency: "USD",
119
+ },
110
120
  CLAUDE_SONNET_4_6: {
111
121
  provider: "anthropic",
112
122
  modelName: "claude-sonnet-4-6",
@@ -33,7 +33,6 @@ function main() {
33
33
  // Si `tenantId` est manquant, on retourne `undefined` pour activer le fallback
34
34
  // natif sur `process.env` ; si `tenantId` est inconnu, on refuse explicitement.
35
35
  apiKeyResolver: (ctx) => __awaiter(this, void 0, void 0, function* () {
36
- console.log(" [server resolver] received context:", ctx);
37
36
  const tenantId = ctx.tenantId;
38
37
  if (!tenantId)
39
38
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imenam/unified-llm-client",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "A unified interface for multiple LLM providers (OpenAI, Gemini, Anthropic, Qwen) with tool-calling, streaming, and audio support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",