goose icon indicating copy to clipboard operation
goose copied to clipboard

support for openai responses api

Open michaelneale opened this issue 1 month ago • 7 comments

well a start to it...

addresses: https://github.com/block/goose/issues/5270

kind of hate that we have to do this.

michaelneale avatar Nov 18 '25 02:11 michaelneale

they said sunsetting completions in august 2026, https://platform.openai.com/docs/deprecations/

cbruyndoncx avatar Nov 18 '25 09:11 cbruyndoncx

https://github.com/block/goose/pull/5694 lays the groundwork for a model database, which we could have a field to check which endpoint to use.

katzdave avatar Nov 18 '25 15:11 katzdave

@cbruyndoncx interesting - I guess they are getting push back. openrouter offers it via completions, as does everything else. Odd.

michaelneale avatar Nov 19 '25 22:11 michaelneale

I can't wrk out how to do streaming, and don't want to maintain this, looking for a volunteer to pick it up @cbruyndoncx @katzdave

michaelneale avatar Nov 19 '25 22:11 michaelneale

I can't wrk out how to do streaming, and don't want to maintain this, looking for a volunteer to pick it up @cbruyndoncx @katzdave

No worries I can pick this up. Will give it it a try tomorrow.

katzdave avatar Nov 20 '25 00:11 katzdave

https://github.com/block/goose/pull/5837 have a streaming version generally working now. Working on cleaning it up.

katzdave avatar Nov 21 '25 20:11 katzdave

can I close this one @katzdave in favor of yours?

michaelneale avatar Dec 01 '25 06:12 michaelneale

can I close this one @katzdave in favor of yours?

Yep. Pushing on that some more today.

katzdave avatar Dec 01 '25 19:12 katzdave