frfr
This commit is contained in:
parent
ff696ef92a
commit
4a136da7f6
@ -117,7 +117,7 @@ class OllamaBot(ClientXMPP):
|
|||||||
log = open("log.txt", "a", 1)
|
log = open("log.txt", "a", 1)
|
||||||
if msg['body'] is not None:
|
if msg['body'] is not None:
|
||||||
log.write(f"{mfrom}: {msg['body']}\n")
|
log.write(f"{mfrom}: {msg['body']}\n")
|
||||||
if self.is_command(decoded):
|
if self.is_command(msg['body']):
|
||||||
await self.handle_command(mto, mtype, decoded)
|
await self.handle_command(mto, mtype, decoded)
|
||||||
elif self.debug_level == LEVELS.DEBUG:
|
elif self.debug_level == LEVELS.DEBUG:
|
||||||
ollama_server_response: Optional[str] = (
|
ollama_server_response: Optional[str] = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user