@stll/ai-catalog 0.7.0 → 0.8.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.
package/README.md CHANGED
@@ -9,14 +9,14 @@ unsupported selections before a provider request.
9
9
 
10
10
  ```ts
11
11
  import {
12
- DEFAULT_MODELS,
13
- resolveWorkingBYOKModelForRole,
12
+ resolveDefaultModel,
13
+ resolveWorkingBYOKModelForTask,
14
14
  } from "@stll/ai-catalog";
15
15
 
16
- const modelId = resolveWorkingBYOKModelForRole({
16
+ const modelId = resolveWorkingBYOKModelForTask({
17
17
  provider: "openai",
18
- modelId: DEFAULT_MODELS.openai.fast,
19
- role: "fast",
18
+ modelId: "gpt-6-luna",
19
+ task: "short-text",
20
20
  });
21
21
  ```
22
22
 
@@ -1,4 +1,4 @@
1
- import { a as BYOKProvider, j as ReasoningEffort } from "./index-BBA5F7Uz.js";
1
+ import { D as ReasoningEffort, a as BYOKProvider } from "./index-Bo8Lm9sX.js";
2
2
  //#region src/benchmark-frontier.d.ts
3
3
  export type ModelBenchmarkMeasurement = {
4
4
  sourceModelId: string;
@@ -1,4 +1,4 @@
1
- import { O as OfferedBYOKModelId } from "./index-BBA5F7Uz.js";
1
+ import { w as OfferedBYOKModelId } from "./index-Bo8Lm9sX.js";
2
2
  import { ModelBenchmarkMeasurement } from "./benchmark-frontier.js";
3
3
  //#region src/benchmark-sources.d.ts
4
4
  export declare const MODEL_BENCHMARK_NAME = "Text Arena";
@@ -13,6 +13,7 @@ export declare const MODEL_BENCHMARK_SOURCES: {
13
13
  readonly "anthropic/claude-haiku-5.5": readonly [];
14
14
  readonly "us.anthropic.claude-haiku-5-5": readonly [];
15
15
  readonly "claude-haiku-5-5": readonly [];
16
+ readonly "gemini-4-argon": readonly [];
16
17
  readonly "gemini-3.8-flash": readonly [{
17
18
  readonly sourceModelId: "gemini-3.8-flash-high";
18
19
  readonly reasoningEffort: "high";
@@ -66,6 +67,7 @@ export declare const MODEL_BENCHMARK_SOURCES: {
66
67
  readonly sourceModelId: "gpt-5.6-luna-xhigh";
67
68
  readonly reasoningEffort: "xhigh";
68
69
  }];
70
+ readonly "google/gemini-4-argon": readonly [];
69
71
  readonly "google/gemini-3.8-flash": readonly [{
70
72
  readonly sourceModelId: "gemini-3.8-flash-high";
71
73
  readonly reasoningEffort: "high";
@@ -265,8 +267,10 @@ export declare const MODEL_UNRATED_REASON: {
265
267
  readonly "anthropic/claude-haiku-5.5": "too_new";
266
268
  readonly "us.anthropic.claude-haiku-5-5": "too_new";
267
269
  readonly "claude-haiku-5-5": "too_new";
270
+ readonly "gemini-4-argon": "too_new";
268
271
  readonly "gemini-3.1-flash-lite": "preview_only";
269
272
  readonly "openai/gpt-6.1-sol": "too_new";
273
+ readonly "google/gemini-4-argon": "too_new";
270
274
  readonly "google/gemini-3.5-flash-lite": "named_default_effort";
271
275
  readonly "google/gemini-3.1-pro-preview": "named_default_effort";
272
276
  readonly "google/gemini-3.1-flash-lite": "preview_only";
@@ -1,4 +1,4 @@
1
- import { J as MODEL_RATE_UNITS_PER_USD, Y as getStandardModelRate, k as getModelRate } from "./src-DpNCcFaY.js";
1
+ import { E as getModelRate, G as MODEL_RATE_UNITS_PER_USD, K as getStandardModelRate } from "./src-B99ljB46.js";
2
2
  //#region src/benchmark-sources.ts
3
3
  const MODEL_BENCHMARK_NAME = "Text Arena";
4
4
  const MODEL_BENCHMARK_LICENCE = "CC BY 4.0";
@@ -12,6 +12,7 @@ const MODEL_BENCHMARK_SOURCES = {
12
12
  "anthropic/claude-haiku-5.5": [],
13
13
  "us.anthropic.claude-haiku-5-5": [],
14
14
  "claude-haiku-5-5": [],
15
+ "gemini-4-argon": [],
15
16
  "gemini-3.8-flash": [{
16
17
  sourceModelId: "gemini-3.8-flash-high",
17
18
  reasoningEffort: "high"
@@ -65,6 +66,7 @@ const MODEL_BENCHMARK_SOURCES = {
65
66
  sourceModelId: "gpt-5.6-luna-xhigh",
66
67
  reasoningEffort: "xhigh"
67
68
  }],
69
+ "google/gemini-4-argon": [],
68
70
  "google/gemini-3.8-flash": [{
69
71
  sourceModelId: "gemini-3.8-flash-high",
70
72
  reasoningEffort: "high"
@@ -268,8 +270,10 @@ const MODEL_UNRATED_REASON = {
268
270
  "anthropic/claude-haiku-5.5": "too_new",
269
271
  "us.anthropic.claude-haiku-5-5": "too_new",
270
272
  "claude-haiku-5-5": "too_new",
273
+ "gemini-4-argon": "too_new",
271
274
  "gemini-3.1-flash-lite": "preview_only",
272
275
  "openai/gpt-6.1-sol": "too_new",
276
+ "google/gemini-4-argon": "too_new",
273
277
  "google/gemini-3.5-flash-lite": "named_default_effort",
274
278
  "google/gemini-3.1-pro-preview": "named_default_effort",
275
279
  "google/gemini-3.1-flash-lite": "preview_only",