Files
langchain/libs/community/langchain_community/chat_models
Nawaf Alharbi decd77c515 community: fix an issue with deepinfra integration (#28715)
Thank you for contributing to LangChain!

- [x] **PR title**: langchain: add URL parameter to ChatDeepInfra class

- [x] **PR message**: add URL parameter to ChatDeepInfra class
- **Description:** This PR introduces a url parameter to the
ChatDeepInfra class in LangChain, allowing users to specify a custom
URL. Previously, the URL for the DeepInfra API was hardcoded to
"https://stage.api.deepinfra.com/v1/openai/chat/completions", which
caused issues when the staging endpoint was not functional. The _url
method was updated to return the value from the url parameter, enabling
greater flexibility and addressing the problem. out!

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-12-14 02:15:29 +00:00
..
2024-10-25 12:56:58 -07:00
2024-10-25 12:56:58 -07:00
2024-10-25 12:56:58 -07:00
2024-10-25 12:56:58 -07:00
2024-10-25 12:56:58 -07:00
2024-10-25 12:56:58 -07:00