Première version agent
Dérivé TP3
This commit is contained in:
13
AgentReact/utils/state.py
Normal file
13
AgentReact/utils/state.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from langgraph.graph import StateGraph, MessagesState
|
||||
|
||||
class hjgzefvuiyguhzfvihuozdef(MessagesState): # J'ai du mal à nommer mes classes ._.
|
||||
pass
|
||||
|
||||
def getState()->StateGraph:
|
||||
"""
|
||||
Retourne un StateGraph prêt à utiliser pour préparer un workflow
|
||||
|
||||
Returns:
|
||||
StateGraph: prêt à utiliser
|
||||
"""
|
||||
return StateGraph(hjgzefvuiyguhzfvihuozdef)
|
||||
Reference in New Issue
Block a user