firts agent concept
This commit is contained in:
8
src/naliiabot/bot/agent/schemas.py
Normal file
8
src/naliiabot/bot/agent/schemas.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from langchain.messages import AnyMessage
|
||||
from typing_extensions import TypedDict, Annotated
|
||||
import operator
|
||||
|
||||
|
||||
class MessagesState(TypedDict):
|
||||
messages: Annotated[list[AnyMessage], operator.add]
|
||||
llm_calls: int
|
||||
Reference in New Issue
Block a user