mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-17 18:25:26 -04:00
Improve Ollama setup and model endpoint handling
This commit is contained in:
@@ -902,7 +902,8 @@ def setup_calendar_routes() -> APIRouter:
|
||||
lines.append(f"DTSTART:{ev.dtstart.strftime('%Y%m%dT%H%M%S')}")
|
||||
lines.append(f"DTEND:{ev.dtend.strftime('%Y%m%dT%H%M%S')}")
|
||||
if ev.description:
|
||||
lines.append(f"DESCRIPTION:{ev.description.replace(chr(10), '\\n')}")
|
||||
escaped_desc = ev.description.replace(chr(10), "\\n")
|
||||
lines.append(f"DESCRIPTION:{escaped_desc}")
|
||||
if ev.location:
|
||||
lines.append(f"LOCATION:{ev.location}")
|
||||
if ev.rrule:
|
||||
|
||||
Reference in New Issue
Block a user