Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Is there a way to overwrite `:langchain` to specify to use custom forked version? - Ash Framework
AF
Ash Framework
โข
9mo ago
โข
5 replies
hyperion_zw
Is there a way to overwrite `:langchain` to specify to use custom forked version?
I found Ash
.AI is really cool
. However
, I need to interact with other LLM provider that doesn
't supported by
{:langchain, "~> 0.3"}
{:langchain, "~> 0.3"}
.
So
, I need to fork the langchain and plan to write modules for that provider
.
When I specifiy my forked repo in phoenix
's mix
.exs
, it failed at setep
:
mix deps.get
mix deps.get
with error
:
Because every version of ash
_ai depends on langchain
~
> 0
.3 which doesn
't match any versions
, no version of ash
_ai is allowed
.
Thanks a lot
.
Solution
Use
`override
: true
' in your custom langchain dependency
Jump to solution
Ash Framework
Join
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
2,193
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Is it possible to use LangChain.NativeTools?
AF
Ash Framework / support
8mo ago
Is there a good way to version string documents in ash?
AF
Ash Framework / support
3y ago
Is there a way to do a 'limit' on a relationship?
AF
Ash Framework / support
11mo ago
Is there a quick way to let Ash Authentication (Phoenix) inherit my custom daisyUI theme?
AF
Ash Framework / support
9mo ago