-
Notifications
You must be signed in to change notification settings - Fork 18.7k
fix(openai): ainvoke uses async _aget_response
; add async tests
#32459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
fix(openai): ainvoke uses async _aget_response
; add async tests
#32459
Conversation
…ests for completed and requires_action paths (fixes langchain-ai#32398)
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
CodSpeed WallTime Performance ReportMerging #32459 will not alter performanceComparing
|
CodSpeed Instrumentation Performance ReportMerging #32459 will not alter performanceComparing Summary
|
…of direct assignment; drop unused type: ignore
_aget_response
; add async tests
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