Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 390 Bytes

File metadata and controls

5 lines (3 loc) · 390 Bytes

AITools API Reference

AI tools for the Bot class using LangChain and OpenRouter: run_ai_with_tools (main LLM with tools), run_ai_simple (cheap LLM, single-turn), and run_ai_simple_with_fallback (cheap-first with sanity check and optional fallback to main LLM). The module also provides _default_sanity_check for validating cheap-LLM output.

::: tradingbot.utils.aitools