Première version agent

Dérivé TP3
This commit is contained in:
2026-02-03 15:22:32 +01:00
commit 75008b05e4
12 changed files with 154 additions and 0 deletions

13
AgentReact/utils/state.py Normal file
View 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)