yaroslavyaroslav / OpenAI-sublime-text

First class Sublime Text AI assistant with GPT-4o and llama.cpp support!
MIT License
130 stars 11 forks source link

Option to strip markdown from responses #53

Closed IPWright83 closed 2 weeks ago

IPWright83 commented 2 weeks ago

I've been having a play with this and I'm struggling to get models to respond without random messages like "sure", explanations and MDX code escaping, despite what I try.

Would it be possible to add an option, configurable for each assistant that would basically strip out anything markdown, except for actual written code? Then examples like this would just use the inner code for replacement etc.

image

yaroslavyaroslav commented 2 weeks ago

Here's the related comment in discussion about that. https://github.com/yaroslavyaroslav/OpenAI-sublime-text/discussions/52#discussioncomment-9898516 I believe that in some of the next coding session with this plugin I'll make in buffer modes a bit more usable, but not promises.

ps: closed by mistake.

yaroslavyaroslav commented 2 weeks ago

As it were discussed in the discussion (sic) above it's llm related bug, thus closing the issue.