Skip to content

feat(groq): support lc image types#34845

Merged
ccurme (ccurme) merged 4 commits into
langchain-ai:masterfrom
aarushisingh04:feat/groq-image-input-support
Feb 1, 2026
Merged

feat(groq): support lc image types#34845
ccurme (ccurme) merged 4 commits into
langchain-ai:masterfrom
aarushisingh04:feat/groq-image-input-support

Conversation

@aarushisingh04

Copy link
Copy Markdown
Contributor

pr description

  • adds image input handling to ChatGroq in chat_models.py by converting langchain image content blocks into groq’s expected image_url message format.
  • enables multimodal prompts (text + images) to be passed through the groq partner integration
  • adds comprehensive unit test coverage for image formatting in test_chat_models.py

what does it solve?

removes the xfail from test_tool_message_histories_list_content in test_standard.py


additional disclaimer : AI tools were used in assistance when forming and testing this change

@github-actions github-actions Bot added external integration PR made that is related to a provider partner package integration groq `langchain-groq` package issues & PRs labels Jan 22, 2026
@aarushisingh04 aarushi singh (aarushisingh04) changed the title feat(groq) : add image input support for ChatGroq feat(groq): add image input support for ChatGroq Jan 22, 2026
@github-actions github-actions Bot added the feature For PRs that implement a new feature; NOT A FEATURE REQUEST label Jan 22, 2026
@codspeed-hq

codspeed-hq Bot commented Jan 22, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 1 untouched benchmark
⏩ 33 skipped benchmarks1


Comparing aarushisingh04:feat/groq-image-input-support (19af613) with master (7c288f1)2

Open in CodSpeed

Footnotes

  1. 33 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 (4794f38) during the generation of this report, so 7c288f1 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@ccurme ccurme (ccurme) changed the title feat(groq): add image input support for ChatGroq feat(groq): support lc image types Feb 1, 2026
@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 1, 2026
@ccurme
ccurme (ccurme) merged commit f3aaab1 into langchain-ai:master Feb 1, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external feature For PRs that implement a new feature; NOT A FEATURE REQUEST groq `langchain-groq` package issues & PRs integration PR made that is related to a provider partner package integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants