Skip to content

Conversation

jdurand
Copy link

@jdurand jdurand commented Aug 23, 2025

fixes ollama api endpoint and request format to properly work with native ollama api

changes:

  • refactored response parsing logic to skip empty/nil lines for all providers
  • fixed ollama endpoint path to use native api format
  • fixed request payload structure for ollama compatibility
  • added proper message parsing for ollama responses
  • removed unnecessary headers for ollama requests
  • fixed cursor position validation to prevent 'Cursor position outside buffer' errors

@jdurand jdurand changed the title fix ollama provider implementation fix: ollama provider implementation Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant