implement session management in agent harness

This commit is contained in:
Roger
2026-10-12 12:17:04 +02:00
parent 2bf2f5cdf1
commit b5ace9b77d
27 changed files with 4693 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)"