Skip to content

Commit 947a785

Browse files
authored
fix: add Claude 4 support (#3645)
Add claude 4 support
1 parent e48ff2f commit 947a785

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

core/quivr_core/rag/entities/config.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,16 @@ class LLMModelConfig:
152152
),
153153
},
154154
DefaultModelSuppliers.ANTHROPIC: {
155+
"claude-opus-4": LLMConfig(
156+
max_context_tokens=200000,
157+
max_output_tokens=8192,
158+
tokenizer_hub="Quivr/claude-tokenizer",
159+
),
160+
"claude-sonnet-4": LLMConfig(
161+
max_context_tokens=200000,
162+
max_output_tokens=8192,
163+
tokenizer_hub="Quivr/claude-tokenizer",
164+
),
155165
"claude-3-7-sonnet": LLMConfig(
156166
max_context_tokens=200000,
157167
max_output_tokens=8192,

0 commit comments

Comments
 (0)