Skip to content

feat(model-profiles): add text_inputs and text_outputs#35084

Merged
Mason Daugherty (mdrxy) merged 2 commits intomasterfrom
mdrxy/models-text
Feb 9, 2026
Merged

feat(model-profiles): add text_inputs and text_outputs#35084
Mason Daugherty (mdrxy) merged 2 commits intomasterfrom
mdrxy/models-text

Conversation

@mdrxy
Copy link
Copy Markdown
Member

@mdrxy Mason Daugherty (mdrxy) commented Feb 9, 2026

  • Add text_inputs and text_outputs fields to ModelProfile
  • Regenerate _profiles.py for all providers

Why

models.dev data includes 'text' as both an input and output modality, but we didn't capture it.

models.dev broadly contains models without text input (Whisper/ASR) and without text output (image generators, TTS).

Without this, downstream consumers can't filter on model text support (e.g. preventing users from passing text input to an audio-only model).


We'd need to also run for Google, AWS and cut releases for all to propagate

@github-actions github-actions bot added internal feature For PRs that implement a new feature; NOT A FEATURE REQUEST integration PR made that is related to a provider partner package integration core `langchain-core` package issues & PRs model-profiles `langchain-model-profiles` package issues & PRs anthropic `langchain-anthropic` package issues & PRs deepseek `langchain-deepseek` package issues & PRs fireworks `langchain-fireworks` package issues & PRs groq `langchain-groq` package issues & PRs huggingface `langchain-huggingface` package issues & PRs mistralai `langchain-mistralai` package issues & PRs openai `langchain-openai` package issues & PRs perplexity `langchain-perplexity` package issues & PRs xai `langchain-xai` package issues & PRs and removed feature For PRs that implement a new feature; NOT A FEATURE REQUEST labels Feb 9, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Feb 9, 2026

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing mdrxy/models-text (616cdb8) with master (06a7d07)

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Summary

✅ 28 untouched benchmarks
⏩ 6 skipped benchmarks1

Footnotes

  1. 6 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions github-actions bot added feature For PRs that implement a new feature; NOT A FEATURE REQUEST and removed feature For PRs that implement a new feature; NOT A FEATURE REQUEST labels Feb 9, 2026
Comment on lines +319 to +320
# Add trailing commas for ruff format compliance
json_str = re.sub(r"([^\s,{\[])(\n\s*[\}\]])", r"\1,\2", json_str)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice thank you

@mdrxy Mason Daugherty (mdrxy) merged commit 4ca586b into master Feb 9, 2026
209 checks passed
@mdrxy Mason Daugherty (mdrxy) deleted the mdrxy/models-text branch February 9, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

anthropic `langchain-anthropic` package issues & PRs core `langchain-core` package issues & PRs deepseek `langchain-deepseek` package issues & PRs feature For PRs that implement a new feature; NOT A FEATURE REQUEST fireworks `langchain-fireworks` package issues & PRs groq `langchain-groq` package issues & PRs huggingface `langchain-huggingface` package issues & PRs integration PR made that is related to a provider partner package integration internal mistralai `langchain-mistralai` package issues & PRs model-profiles `langchain-model-profiles` package issues & PRs openai `langchain-openai` package issues & PRs perplexity `langchain-perplexity` package issues & PRs xai `langchain-xai` package issues & PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants