Skip to content

Conversation

@myaple
Copy link
Contributor

@myaple myaple commented Aug 22, 2025

This is a first take at fixing the issue described in #4221 where the logic used in the litellm provider to create the requests is the same as the openai format, which has significant bias towards openai models. I've modified the name-based parsing to use more specific schemes, calling out o{1..4} instead of just "o" as the starting char.

@myaple myaple force-pushed the fix/openai-request-effort branch from 1a0f6b2 to a1ef534 Compare August 29, 2025 20:08
@myaple myaple force-pushed the fix/openai-request-effort branch from a1ef534 to fb346f6 Compare September 6, 2025 09:15
Copy link
Collaborator

@michaelneale michaelneale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@myaple thanks matt - looks like some errors and something missing from it, but seems like a resonable approach (not sure we do want another variable though, if can be avoided)

@DOsinga
Copy link
Collaborator

DOsinga commented Oct 2, 2025

I agree with @michaelneale here. let's cut this down to just the change in the pattern recognition. no need for the test or variable. and let's get this merged!

@myaple
Copy link
Contributor Author

myaple commented Oct 3, 2025

Sounds good, I'll rip the rest out this weekend and get it across the line.

@myaple myaple force-pushed the fix/openai-request-effort branch from fb346f6 to 741e57c Compare October 3, 2025 21:19
@myaple myaple requested a review from michaelneale October 3, 2025 21:22
@michaelneale michaelneale changed the base branch from main to micn/main October 6, 2025 22:29
@michaelneale michaelneale changed the base branch from micn/main to main October 6, 2025 22:29
@DOsinga
Copy link
Collaborator

DOsinga commented Oct 8, 2025

so sorry, but I think you'll need to sync to main to get this to kick off the tests? we had a bug in main at some point

@myaple myaple force-pushed the fix/openai-request-effort branch from 09e555a to 1210ea9 Compare October 8, 2025 18:58
@myaple
Copy link
Contributor Author

myaple commented Oct 8, 2025

no worries, let me know if that fixes it

@DOsinga DOsinga merged commit 1593b73 into block:main Oct 11, 2025
10 checks passed
zanesq added a commit that referenced this pull request Oct 13, 2025
…sion-streaming

* 'main' of github.com:block/goose: (37 commits)
  Clear deeplinks after use (#5128)
  Revert "Fix gpt-5 input context limit (#4619)" (#5135)
  fix: missing cmake and protobuf for windows build, deduplicate sh/pws… (#5028)
  Fix bedrock tool input schema (#5064)
  Add self-test recipe for goose validation (#5111)
  fix: modifies openai request logic for reasoning models (#4221) (#4294)
  Fix race condition threat when set_param and set_secret of c… (#5109)
  Clean room implementation of the chat process (#5079)
  Bump rmcp (#5096)
  set version in an env variable for testing (#5100)
  fix : enhance fuzzy file search in goose desktop (#5071)
  Make async (#5126)
  docs: unlist tutorials for extensions with archived or moved servers (#5116)
  Add API Documentation Generator prompt (#5001)
  Add flag for enabling eleven labs voice dictation (#5095)
  force re-render fields to pick up custom params usage in instructions (#5112)
  Remove isUserInputDisabled (#5115)
  Improve Rust analysis output for `analyze` tool (#5072)
  Remove duplicate prepare_reply_context call (#5063)
  install react dev tools in development (#4979)
  ...

# Conflicts:
#	ui/desktop/src/components/BaseChat2.tsx
#	ui/desktop/src/hooks/useChatStream.ts
katzdave added a commit that referenced this pull request Oct 15, 2025
* 'main' of github.com:block/goose: (49 commits)
  fixing video embed (#5171)
  chore: clean up random unused files (#5166)
  fix: adjust download_cli.sh to tolerate no OS variable (#5169)
  mcp tutorial page for firecrawl (#5152)
  Remove orphaned tool calls before compaction (#5059)
  feat: add copy as markdown button to documentation pages (#5158)
  chore: include vendored node executable (#5160)
  remove extra whitespace from message (#5159)
  Clear deeplinks after use (#5128)
  Revert "Fix gpt-5 input context limit (#4619)" (#5135)
  fix: missing cmake and protobuf for windows build, deduplicate sh/pws… (#5028)
  Fix bedrock tool input schema (#5064)
  Add self-test recipe for goose validation (#5111)
  fix: modifies openai request logic for reasoning models (#4221) (#4294)
  Fix race condition threat when set_param and set_secret of c… (#5109)
  Clean room implementation of the chat process (#5079)
  Bump rmcp (#5096)
  set version in an env variable for testing (#5100)
  fix : enhance fuzzy file search in goose desktop (#5071)
  Make async (#5126)
  ...
michaelneale added a commit that referenced this pull request Oct 16, 2025
* main: (35 commits)
  fix: include apple silicon build of the desktop app in build artifacts (#5174)
  fixing video embed (#5171)
  chore: clean up random unused files (#5166)
  fix: adjust download_cli.sh to tolerate no OS variable (#5169)
  mcp tutorial page for firecrawl (#5152)
  Remove orphaned tool calls before compaction (#5059)
  feat: add copy as markdown button to documentation pages (#5158)
  chore: include vendored node executable (#5160)
  remove extra whitespace from message (#5159)
  Clear deeplinks after use (#5128)
  Revert "Fix gpt-5 input context limit (#4619)" (#5135)
  fix: missing cmake and protobuf for windows build, deduplicate sh/pws… (#5028)
  Fix bedrock tool input schema (#5064)
  Add self-test recipe for goose validation (#5111)
  fix: modifies openai request logic for reasoning models (#4221) (#4294)
  Fix race condition threat when set_param and set_secret of c… (#5109)
  Clean room implementation of the chat process (#5079)
  Bump rmcp (#5096)
  set version in an env variable for testing (#5100)
  fix : enhance fuzzy file search in goose desktop (#5071)
  ...
@alexhancock alexhancock mentioned this pull request Oct 17, 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.

3 participants