mirror of
https://github.com/aljazceru/vibeline.git
synced 2026-01-29 19:34:30 +01:00
Fix Ollama response handling and strip whitespace from summary
This commit is contained in:
@@ -39,7 +39,8 @@ def process_transcript(transcript_text: str) -> str:
|
||||
}
|
||||
])
|
||||
|
||||
return response['message']['content']
|
||||
# Extract the content from the response
|
||||
return response['message']['content'].strip()
|
||||
|
||||
def save_summary(summary: str, output_file: Path) -> None:
|
||||
"""Save the summary to a file."""
|
||||
|
||||
Reference in New Issue
Block a user