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

You need to enter your API key in the Models tab of Settings in order to chat. #36

Closed
andy8992 opened this issue Jan 5, 2025 · 7 comments
Assignees
Labels
question Further information is requested

Comments

@andy8992
Copy link

andy8992 commented Jan 5, 2025

All of a sudden asked this when running commands.

I have no intention of using anything other than Ollama (which IS set up). This was working fine before.

I can chat normally but if I run one of my custom commands it's clearly not using the model I have chosen/used last.

I've changed no settings since this began happening. Presumably update related.

Forcing it to use a specific Ollama model works but it ought to be using my most recent model.

@nbonamy
Copy link
Owner

nbonamy commented Jan 5, 2025

Hi. Thanks for using Witsy!

Can you please attach some screenshots so I better understand your setup.

Also check how the commands defaults are configured

image

Thanks

@nbonamy nbonamy self-assigned this Jan 6, 2025
@nbonamy nbonamy added the question Further information is requested label Jan 6, 2025
@nbonamy
Copy link
Owner

nbonamy commented Jan 8, 2025

@andy8992 any updates or can I close this?

@andy8992
Copy link
Author

I haven't had the issue in a bit. I'll look at that.

Not sure why but that more button wasn't obvious that it contained settings. Perhaps the direction arrow and it's placement near the scrollbar made me think it was related to additional commands rather than settings.

@samiralam
Copy link

It looks like I'm having the same issue on a fresh install:
image

My ollama base URL is in the form https://ollama.example.com, and I know it's connecting successfully because I'm able to view all of the installed models.

@nbonamy nbonamy reopened this Jan 12, 2025
@nbonamy
Copy link
Owner

nbonamy commented Jan 12, 2025

Can you download the latest pre-release from here:
https://github.com/nbonamy/witsy/releases/tag/v1.35.0

From the main chat window (the one in your screenshot), open the Help menu and there should be a "Go to Log Folder" entry. Then open main.log and copy/paste the last lines related to the error.

Thanks

@samiralam
Copy link

Ollama seems to be responding OK on that version. However, at first I was getting a bunch of errors that looked like this:

It appears that the tool call response was a music video by Rick Astley titled "Never Gonna Give You Up".

You were testing, I assume?

and

I'm not sure what the issue is. Can you please provide more context or clarify what isn't working? The text you provided appears to be a song lyrics from "Never Gonna Give You Up" by Rick Astley. If this is related to your question, could you please rephrase it so I can better understand and assist you?

and

The provided output appears to be a response from the IANA (Internet Assigned Numbers Authority) regarding an example domain. The content of the response is stating that the example domain can be used in literature without prior coordination or permission, and provides more information on where to find additional details about this domain.

I was able to fix it by disabling every plugin. It seems multiple plugins are enabled out of the box, so querying my local Ollama instance with text would trigger a bunch of tool usage that would error out (since none of the tool plugins are configured with API keys). I assume anyone installing the app for the first time would run into the same issue.

@nbonamy
Copy link
Owner

nbonamy commented Jan 14, 2025

I understand that but if you do not have API Keys, only two plugins are enabled by default: "Download" and "YouTube"...

Not sure what to do on this: need to think that through.

@nbonamy nbonamy closed this as completed Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants