Skip to content

Conversation

vineethkumarrao
Copy link
Contributor

Fixes bug where OpenAIAssistantRunnable.ainvoke called sync _get_response instead of async _aget_response.

Adds async unit tests covering:
completed run (as_agent=False) returns messages via async list
requires_action (as_agent=True) returns OpenAIAssistantAction
References: #32398

Copy link

vercel bot commented Aug 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
langchain Ignored Ignored Preview Sep 10, 2025 7:43pm

Copy link

codspeed-hq bot commented Aug 8, 2025

CodSpeed WallTime Performance Report

Merging #32459 will not alter performance

Comparing vineethkumarrao:fix/openai-assistant-ainvoke-async-response (12b9367) with master (9c7d262)

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

✅ 13 untouched benchmarks

@vineethkumarrao vineethkumarrao changed the title fix(openai_assistant): ainvoke uses async _aget_response; add async tests fix(openai): ainvoke uses async _aget_response; add async tests Aug 8, 2025
Copy link

codspeed-hq bot commented Aug 8, 2025

CodSpeed Instrumentation Performance Report

Merging #32459 will not alter performance

Comparing vineethkumarrao:fix/openai-assistant-ainvoke-async-response (12b9367) with master (9c7d262)

Summary

✅ 14 untouched benchmarks

@mdrxy mdrxy added the integration Related to a provider partner package integration label Aug 8, 2025
@mdrxy mdrxy changed the title fix(openai): ainvoke uses async _aget_response; add async tests fix(openai): ainvoke uses async _aget_response; add async tests Aug 8, 2025
@ccurme ccurme merged commit 0abf82a into langchain-ai:master Sep 10, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration Related to a provider partner package integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants