ashishja commited on
Commit
7a87b88
·
verified ·
1 Parent(s): bc03ecc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -51,7 +51,8 @@ class responses_api(BaseAgent):
51
  ctx.session_state["user:responses"] = existing_responses
52
 
53
  # Optionally, yield a single event to indicate completion or provide some output
54
- yield Event(author=self.name, content=types.Content(parts=[types.Part(text=f"Fetched {len(questions_data)} questions."))]))
 
55
 
56
 
57
 
 
51
  ctx.session_state["user:responses"] = existing_responses
52
 
53
  # Optionally, yield a single event to indicate completion or provide some output
54
+ yield Event(author=self.name, content=types.Content(parts=[types.Part(text=f"Fetched {len(response.json())} questions.")]))
55
+
56
 
57
 
58