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