agent memory

This commit is contained in:
Roger
2026-10-02 21:00:50 +02:00
parent f9a11bf4ca
commit e9e27d1101
40 changed files with 4407 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
def ask_question(question: str) -> str:
"""Ask the user a clarifying question and return their answer."""
print(f"\n [agent] {question}")
try:
answer = input(" Your answer: ").strip()
except EOFError:
return "(no answer, EOF)"
return answer if answer else "(no answer provided)"