Ash FrameworkAF
Ash Framework7mo 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"}.
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 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
Was this page helpful?