Skip to content

Conversation

billytrend-cohere
Copy link
Contributor

@billytrend-cohere billytrend-cohere commented Jun 17, 2025

Add cohere client based on openai compatiblity layer

@Unshure Unshure self-assigned this Jun 19, 2025
Copy link
Member

@Unshure Unshure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution here! This looks like a light wrapper around the existing OpenAI implementation, which is not an implementation pattern we like to follow. Instead, I would be happy to accept a ModelProvider that uses Cohere's own sdk: https://docs.cohere.com/reference/about#python

Let me know if this is an update you are interested in contributing!

@billytrend-cohere
Copy link
Contributor Author

Added some docs here strands-agents/docs#108

@Unshure
Copy link
Member

Unshure commented Jun 27, 2025

We are planning on having a mostly docs-based implementation, so lets remove this implementation, but keep the newly added integration test.

@Unshure Unshure force-pushed the billy/cohere-compat branch from 88e35bc to 18cd037 Compare June 27, 2025 18:55
@Unshure
Copy link
Member

Unshure commented Jun 27, 2025

I accidentally committed a change to your pr, so I had to undo that, sorry about that.

@Unshure Unshure merged commit 33cd0e9 into strands-agents:main Jul 9, 2025
12 checks passed
malte-aws pushed a commit to malte-aws/sdk-python that referenced this pull request Jul 10, 2025
* Add CohereModel

* Format

* Update pyproject.toml

* Update src/strands/models/cohere.py

* Revert cusom cli, keep only compat layer

* Format and fixes
dbschmigelski pushed a commit to Ketansuhaas/sdk-python that referenced this pull request Jul 24, 2025
* Add CohereModel

* Format

* Update pyproject.toml

* Update src/strands/models/cohere.py

* Revert cusom cli, keep only compat layer

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants