nekomeowww / insights-bot

A bot works with OpenAI GPT models to provide insights for your info flows.
MIT License
248 stars 24 forks source link

fix: omit markdown codeblock #205

Closed Archeb closed 3 months ago

Archeb commented 3 months ago

Some models (GPT-4,4o series) will use markdown fenced code block syntax to wrap the output JSON, breaking the summarization feature. With this change, code blocks will be omitted.