summaryrefslogtreecommitdiffhomepage
path: root/js/src/llm/models
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/llm/models')
-rw-r--r--js/src/llm/models/anthropic.ts0
-rw-r--r--js/src/llm/models/index.ts1
-rw-r--r--js/src/llm/models/model.ts11
3 files changed, 12 insertions, 0 deletions
diff --git a/js/src/llm/models/anthropic.ts b/js/src/llm/models/anthropic.ts
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/js/src/llm/models/anthropic.ts
diff --git a/js/src/llm/models/index.ts b/js/src/llm/models/index.ts
new file mode 100644
index 000000000..f974b4d3e
--- /dev/null
+++ b/js/src/llm/models/index.ts
@@ -0,0 +1 @@
+export * as anthropic from "./anthropic";
diff --git a/js/src/llm/models/model.ts b/js/src/llm/models/model.ts
new file mode 100644
index 000000000..e78dbb87f
--- /dev/null
+++ b/js/src/llm/models/model.ts
@@ -0,0 +1,11 @@
+export interface ModelInfo {
+ cost: {
+ input: number;
+ inputCached: number;
+ output: number;
+ outputCached: number;
+ };
+ contextWindow: number;
+ maxTokens: number;
+ attachment: boolean;
+}