LLMGameHub / src /agent /llm_graph.py
gsavin's picture
A new start
86b351a
raw
history blame
268 Bytes
from agent.tools import available_tools
from agent.llm import create_llm
from langgraph.graph import MessagesState
class CustomState(MessagesState):
"""Расширенное состояние графа."""
llm = create_llm().bind_tools(available_tools)