haystack-core-integrations icon indicating copy to clipboard operation
haystack-core-integrations copied to clipboard

feat: add run_async for CohereChatGenerator

Open Ryzhtus opened this issue 7 months ago • 0 comments

Related Issues

  • fixes #1383

Proposed Changes:

  • Introduced async support in CohereChatGenerator via a new run_async method
  • Added async test coverage and included pytest-asyncio as a test dependency

How did you test it?

I added async versions for tests in test_cohere_chat_generator.py

Notes for the reviewer

I've also test live methods with my own API key, but feel free to test yourself

Checklist

Ryzhtus avatar May 02 '25 11:05 Ryzhtus