block / goose

Goose is a developer agent that operates from your command line to help you do the boring stuff.
https://block.github.io/goose/
Apache License 2.0
109 stars 17 forks source link

OLLAMA_HOST fails silently if missing https #133

Open michaelneale opened 2 weeks ago

michaelneale commented 2 weeks ago

my OLLAMA_HOST was missing http:// -- this would be a great actual error message -- you found a variable but it was malformed.

michaelneale commented 2 weeks ago

cc @codefromthecrypt

codefromthecrypt commented 1 week ago

cool, I can have goose do this one 😎

michaelneale commented 1 week ago

@codefromthecrypt yep trying that out here: https://github.com/michaelneale/goose/pull/3 - so far so good (if it works ok will bring the action over to here). Added the goose fix it action

pforhan commented 1 week ago

latest goose seems a bit more chatty at least, it didn't like my ollama host not having a trailing /

codefromthecrypt commented 1 week ago

@pforhan wanna check #147? now uses URL.join so more tolerant about trailing vs not

pforhan commented 1 week ago

do I just take a patch from this and apply to the local cached files?

michaelneale commented 1 week ago

@pforhan if you clone it from that PR - you can run it via uv run goose session start to see it? should have it it in next release hopefully