mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 18:50:33 +00:00
chore(model-profiles): refresh model profile data (#37466)
Automated refresh of model profile data for all in-monorepo partner integrations via `langchain-profiles refresh`. 🤖 Generated by the `refresh_model_profiles` workflow. --------- Co-authored-by: mdrxy <61371264+mdrxy@users.noreply.github.com> Co-authored-by: Mason Daugherty <github@mdrxy.com>
This commit is contained in:
committed by
GitHub
parent
d328d84b78
commit
67eca93d17
File diff suppressed because it is too large
Load Diff
@@ -136,266 +136,6 @@ _PROFILES: dict[str, dict[str, Any]] = {
|
|||||||
"attachment": True,
|
"attachment": True,
|
||||||
"temperature": True,
|
"temperature": True,
|
||||||
},
|
},
|
||||||
"grok-3": {
|
|
||||||
"name": "Grok 3",
|
|
||||||
"release_date": "2025-02-17",
|
|
||||||
"last_updated": "2025-02-17",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 131072,
|
|
||||||
"max_output_tokens": 8192,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": False,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": False,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": False,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-3-fast": {
|
|
||||||
"name": "Grok 3 Fast",
|
|
||||||
"release_date": "2025-02-17",
|
|
||||||
"last_updated": "2025-02-17",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 131072,
|
|
||||||
"max_output_tokens": 8192,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": False,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": False,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": False,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-3-fast-latest": {
|
|
||||||
"name": "Grok 3 Fast Latest",
|
|
||||||
"release_date": "2025-02-17",
|
|
||||||
"last_updated": "2025-02-17",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 131072,
|
|
||||||
"max_output_tokens": 8192,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": False,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": False,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": False,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-3-latest": {
|
|
||||||
"name": "Grok 3 Latest",
|
|
||||||
"release_date": "2025-02-17",
|
|
||||||
"last_updated": "2025-02-17",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 131072,
|
|
||||||
"max_output_tokens": 8192,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": False,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": False,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": False,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-3-mini": {
|
|
||||||
"name": "Grok 3 Mini",
|
|
||||||
"release_date": "2025-02-17",
|
|
||||||
"last_updated": "2025-02-17",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 131072,
|
|
||||||
"max_output_tokens": 8192,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": False,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": True,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": False,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-3-mini-fast": {
|
|
||||||
"name": "Grok 3 Mini Fast",
|
|
||||||
"release_date": "2025-02-17",
|
|
||||||
"last_updated": "2025-02-17",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 131072,
|
|
||||||
"max_output_tokens": 8192,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": False,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": True,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": False,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-3-mini-fast-latest": {
|
|
||||||
"name": "Grok 3 Mini Fast Latest",
|
|
||||||
"release_date": "2025-02-17",
|
|
||||||
"last_updated": "2025-02-17",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 131072,
|
|
||||||
"max_output_tokens": 8192,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": False,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": True,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": False,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-3-mini-latest": {
|
|
||||||
"name": "Grok 3 Mini Latest",
|
|
||||||
"release_date": "2025-02-17",
|
|
||||||
"last_updated": "2025-02-17",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 131072,
|
|
||||||
"max_output_tokens": 8192,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": False,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": True,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": False,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-4": {
|
|
||||||
"name": "Grok 4",
|
|
||||||
"release_date": "2025-07-09",
|
|
||||||
"last_updated": "2025-07-09",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 256000,
|
|
||||||
"max_output_tokens": 64000,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": False,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": True,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": False,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-4-1-fast": {
|
|
||||||
"name": "Grok 4.1 Fast",
|
|
||||||
"release_date": "2025-11-19",
|
|
||||||
"last_updated": "2025-11-19",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 2000000,
|
|
||||||
"max_output_tokens": 30000,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": True,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": True,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": True,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-4-1-fast-non-reasoning": {
|
|
||||||
"name": "Grok 4.1 Fast (Non-Reasoning)",
|
|
||||||
"release_date": "2025-11-19",
|
|
||||||
"last_updated": "2025-11-19",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 2000000,
|
|
||||||
"max_output_tokens": 30000,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": True,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": False,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": True,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-4-fast": {
|
|
||||||
"name": "Grok 4 Fast",
|
|
||||||
"release_date": "2025-09-19",
|
|
||||||
"last_updated": "2025-09-19",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 2000000,
|
|
||||||
"max_output_tokens": 30000,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": True,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": True,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": True,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-4-fast-non-reasoning": {
|
|
||||||
"name": "Grok 4 Fast (Non-Reasoning)",
|
|
||||||
"release_date": "2025-09-19",
|
|
||||||
"last_updated": "2025-09-19",
|
|
||||||
"open_weights": False,
|
|
||||||
"max_input_tokens": 2000000,
|
|
||||||
"max_output_tokens": 30000,
|
|
||||||
"text_inputs": True,
|
|
||||||
"image_inputs": True,
|
|
||||||
"audio_inputs": False,
|
|
||||||
"video_inputs": False,
|
|
||||||
"text_outputs": True,
|
|
||||||
"image_outputs": False,
|
|
||||||
"audio_outputs": False,
|
|
||||||
"video_outputs": False,
|
|
||||||
"reasoning_output": False,
|
|
||||||
"tool_calling": True,
|
|
||||||
"attachment": True,
|
|
||||||
"temperature": True,
|
|
||||||
},
|
|
||||||
"grok-4.20-0309-non-reasoning": {
|
"grok-4.20-0309-non-reasoning": {
|
||||||
"name": "Grok 4.20 (Non-Reasoning)",
|
"name": "Grok 4.20 (Non-Reasoning)",
|
||||||
"release_date": "2026-03-09",
|
"release_date": "2026-03-09",
|
||||||
@@ -496,25 +236,65 @@ _PROFILES: dict[str, dict[str, Any]] = {
|
|||||||
"attachment": False,
|
"attachment": False,
|
||||||
"temperature": True,
|
"temperature": True,
|
||||||
},
|
},
|
||||||
"grok-code-fast-1": {
|
"grok-imagine-image": {
|
||||||
"name": "Grok Code Fast 1",
|
"name": "Grok Imagine Image",
|
||||||
"release_date": "2025-08-28",
|
"release_date": "2026-03",
|
||||||
"last_updated": "2025-08-28",
|
"last_updated": "2026-05-16",
|
||||||
"open_weights": False,
|
"open_weights": False,
|
||||||
"max_input_tokens": 256000,
|
"max_input_tokens": 1024,
|
||||||
"max_output_tokens": 10000,
|
"max_output_tokens": 0,
|
||||||
"text_inputs": True,
|
"text_inputs": True,
|
||||||
"image_inputs": False,
|
"image_inputs": True,
|
||||||
"audio_inputs": False,
|
"audio_inputs": False,
|
||||||
"video_inputs": False,
|
"video_inputs": False,
|
||||||
"text_outputs": True,
|
"text_outputs": False,
|
||||||
"image_outputs": False,
|
"image_outputs": True,
|
||||||
"audio_outputs": False,
|
"audio_outputs": False,
|
||||||
"video_outputs": False,
|
"video_outputs": False,
|
||||||
"reasoning_output": True,
|
"reasoning_output": False,
|
||||||
"tool_calling": True,
|
"tool_calling": False,
|
||||||
"attachment": False,
|
"attachment": True,
|
||||||
"temperature": True,
|
"temperature": False,
|
||||||
|
},
|
||||||
|
"grok-imagine-image-quality": {
|
||||||
|
"name": "Grok Imagine Image Quality",
|
||||||
|
"release_date": "2026-04",
|
||||||
|
"last_updated": "2026-05-16",
|
||||||
|
"open_weights": False,
|
||||||
|
"max_input_tokens": 1024,
|
||||||
|
"max_output_tokens": 0,
|
||||||
|
"text_inputs": True,
|
||||||
|
"image_inputs": True,
|
||||||
|
"audio_inputs": False,
|
||||||
|
"video_inputs": False,
|
||||||
|
"text_outputs": False,
|
||||||
|
"image_outputs": True,
|
||||||
|
"audio_outputs": False,
|
||||||
|
"video_outputs": False,
|
||||||
|
"reasoning_output": False,
|
||||||
|
"tool_calling": False,
|
||||||
|
"attachment": True,
|
||||||
|
"temperature": False,
|
||||||
|
},
|
||||||
|
"grok-imagine-video": {
|
||||||
|
"name": "Grok Imagine Video",
|
||||||
|
"release_date": "2026-03",
|
||||||
|
"last_updated": "2026-05-16",
|
||||||
|
"open_weights": False,
|
||||||
|
"max_input_tokens": 1024,
|
||||||
|
"max_output_tokens": 0,
|
||||||
|
"text_inputs": True,
|
||||||
|
"image_inputs": True,
|
||||||
|
"audio_inputs": False,
|
||||||
|
"video_inputs": True,
|
||||||
|
"text_outputs": False,
|
||||||
|
"image_outputs": False,
|
||||||
|
"audio_outputs": False,
|
||||||
|
"video_outputs": True,
|
||||||
|
"reasoning_output": False,
|
||||||
|
"tool_calling": False,
|
||||||
|
"attachment": True,
|
||||||
|
"temperature": False,
|
||||||
},
|
},
|
||||||
"grok-vision-beta": {
|
"grok-vision-beta": {
|
||||||
"name": "Grok Vision Beta",
|
"name": "Grok Vision Beta",
|
||||||
|
|||||||
@@ -24,11 +24,6 @@ def test_initialization() -> None:
|
|||||||
ChatXAI(model=MODEL_NAME)
|
ChatXAI(model=MODEL_NAME)
|
||||||
|
|
||||||
|
|
||||||
def test_profile() -> None:
|
|
||||||
model = ChatXAI(model="grok-4")
|
|
||||||
assert model.profile
|
|
||||||
|
|
||||||
|
|
||||||
def test_xai_model_param() -> None:
|
def test_xai_model_param() -> None:
|
||||||
llm = ChatXAI(model="foo")
|
llm = ChatXAI(model="foo")
|
||||||
assert llm.model_name == "foo"
|
assert llm.model_name == "foo"
|
||||||
|
|||||||
Reference in New Issue
Block a user