File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 3
3
recallrai2 /
4
4
** /__pycache__ /
5
5
poetry.lock
6
- ** /.env
6
+ ** /.env
7
+ temp.ipynb
Original file line number Diff line number Diff line change 347
347
" try:\n " ,
348
348
" context = session.get_context()\n " ,
349
349
" print(\" Memory used:\" , context.memory_used)\n " ,
350
- " print(\" Context:\" , context.context)\n " ,
350
+ " print(\" Context:\\ n \ " , context.context)\n " ,
351
351
" except UserNotFoundError as e:\n " ,
352
352
" print(f\" Error: {e}\" )\n " ,
353
353
" except SessionNotFoundError as e:\n " ,
Original file line number Diff line number Diff line change @@ -161,9 +161,9 @@ def get_context(self) -> Context:
161
161
)
162
162
status = self .get_status ()
163
163
if status == SessionStatus .PROCESSED :
164
- logger .warning ("WARNING: Cannot add message to a session that has already been processed " )
164
+ logger .warning ("You are trying to get context for a processed session. Why do you need it? " )
165
165
elif status == SessionStatus .PROCESSING :
166
- logger .warning ("WARNING: Cannot add message to a session that is currently being processed " )
166
+ logger .warning ("You are trying to get context for a processing session. Why do you need it? " )
167
167
return Context .from_api_response (response .json ())
168
168
169
169
def process (self ) -> None :
You can’t perform that action at this time.
0 commit comments