feat: solution for 'Экзамен: Планирующий агент'
This commit is contained in:
+5
-7
@@ -1,9 +1,7 @@
|
||||
from typing import TypedDict, Optional
|
||||
from typing import TypedDict, List, Optional
|
||||
|
||||
class AgentState(TypedDict):
|
||||
class PlanningState(TypedDict):
|
||||
task: str
|
||||
result: str
|
||||
attempts: int
|
||||
status: str # pending | success | failed | max_attempts
|
||||
error: Optional[str]
|
||||
max_attempts: int
|
||||
plan: Optional[List[str]]
|
||||
current_step: int
|
||||
results: List[str]
|
||||
Reference in New Issue
Block a user