brainlid / langchain

Elixir implementation of a LangChain style framework.
https://hexdocs.pm/langchain/
Other
503 stars 58 forks source link

Fix elixir 1.17 warnings #123

Closed MrYawe closed 1 month ago

MrYawe commented 1 month ago

Fixes

warning: 0..-2 has a default step of -1, please write 0..-2//-1 instead
  test/chat_models/chat_ollama_ai_test.exs:160: ChatModels.ChatOllamaAITest."test call/2 basic content example with streaming"/1