Skip to content
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

patch: Fetch default model from the API (for tokenization) #22

Merged
merged 4 commits into from
Apr 16, 2024

Conversation

abdullahkady
Copy link
Contributor

@abdullahkady abdullahkady commented Apr 16, 2024

I was planning on going through the code and making the tokenize/num_tokens call accept the model, but the function seems to be unused at the moment.

harry-cohere
harry-cohere previously approved these changes Apr 16, 2024
@harry-cohere harry-cohere changed the title Fetch default model from the API (for tokenization) minor: Fetch default model from the API (for tokenization) Apr 16, 2024
@harry-cohere harry-cohere changed the title minor: Fetch default model from the API (for tokenization) patch: Fetch default model from the API (for tokenization) Apr 16, 2024
@harry-cohere harry-cohere merged commit 3dcb85a into langchain-ai:main Apr 16, 2024
12 checks passed
Anirudh31415926535 added a commit to Anirudh31415926535/langchain-cohere-fork that referenced this pull request Jan 21, 2025
* fix incorrect tool call formatting

* Remove embeddings standard test - EmbeddingsIntegrationTests removed from standard test

* Add unit test for fix

* Update libs/cohere/langchain_cohere/chat_models.py

Co-authored-by: harry-cohere <[email protected]>

* Bump version

* Nit and format

* lint fix

---------

Co-authored-by: harry-cohere <[email protected]>
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.

2 participants