Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIM requests not being sent / recieved at Ollama API #175

Closed
lewismacnow opened this issue Mar 14, 2024 · 1 comment
Closed

FIM requests not being sent / recieved at Ollama API #175

lewismacnow opened this issue Mar 14, 2024 · 1 comment

Comments

@lewismacnow
Copy link

lewismacnow commented Mar 14, 2024

Describe the bug
I have ollama running on a 'good' host, been used with ollama for multiple APIs for a while. With many models.
Twinny extension is installed. Settings updated to point at the external ollama api.
Completions via the chat window are working perfectly.
FIM returns nothing. No error, no timeout.
And the Logs show no requests are being recieved.

To Reproduce
Steps to reproduce the behavior:

  1. Install Twinny

image

  1. Check/update settings to ensure model correct and available

image

image

image

  1. Test co-pilot style chat

image

3.1. Check Logs for Ollama to see the API request:

image

  1. Test auto code complete - Even using manual key-binding nothing happens but this loading symbol spins (forever) and never stops until I click it

image

4.1. Check Ollama server for API request - there are none, the request from 3.1 is still the most recent:

image

Expected behavior
Code completions

Desktop (please complete the following information):

  • MacOS 14.4 (client)
  • Ubuntu 22 (Ollama Host)
  • Ollama 0.1.28

Additional context
Ollama autocoder extension works which has similar features to what I suspect you have created for Twinny.
It seems the HTTP requets is not making it to my ollama server?

@lewismacnow
Copy link
Author

UPDATE:
This issue was caused by a setting in VS Code. (Not sure which one).

SOLUTION:
I reset all VS Code settings to default;

  1. Open Visual Studio Code and click on the settings icon.
    
  2. Click on "Settings" and then on the file icon to open the settings.json file.
    
  3. Remove all existing settings in the file, leaving only the curly braces {}.
    
  4. Save the file. This action will reset all your settings.
    
  5. Restart Visual Studio Code for the changes to take effect.
    

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

No branches or pull requests

1 participant