Skip to content

docs(core): clarify supported formats for multimodal inputs in ModelProfile#35628

Open
ling (qinqining) wants to merge 7 commits intolangchain-ai:masterfrom
qinqining:docs/update-modelprofile-formats
Open

docs(core): clarify supported formats for multimodal inputs in ModelProfile#35628
ling (qinqining) wants to merge 7 commits intolangchain-ai:masterfrom
qinqining:docs/update-modelprofile-formats

Conversation

@qinqining
Copy link
Copy Markdown

Description:
This PR resolves several # TODO comments in libs/core/langchain_core/language_models/model_profile.py regarding multimodal input formats.

It explicitly documents that image, pdf, audio, and video inputs typically accept base64-encoded strings or raw bytes. This minor documentation update helps clarify the expected input types for developers working with multimodal agents.

Issue: N/A (Minor documentation cleanup)

…rofile

Resolves TODOs in model_profile.py by explicitly documenting that image, pdf, audio, and video inputs typically accept base64-encoded strings or raw bytes. This improves developer experience for multimodal agent integrations.
@github-actions github-actions bot added external core `langchain-core` package issues & PRs documentation Improvements or additions to documentation and removed external labels Mar 7, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 7, 2026

Merging this PR will not alter performance

⚠️ 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.

✅ 13 untouched benchmarks
⏩ 27 skipped benchmarks1


Comparing qinqining:docs/update-modelprofile-formats (b0b6291) with master (063739b)2

Open in CodSpeed

Footnotes

  1. 27 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.

  2. No successful run was found on master (491eb9d) during the generation of this report, so 063739b was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 9, 2026

This PR is missing a linked issue. All external contributions must reference an approved issue or discussion.

Please add one of the following to your PR description:

  • Fixes #<issue_number>
  • Closes #<issue_number>
  • Resolves #<issue_number>

If no issue exists yet, open one and wait for maintainer approval before proceeding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core `langchain-core` package issues & PRs documentation Improvements or additions to documentation external missing-issue-link size: XS < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant