continuedev/continue

gpt oss tool not supported. add native_tool_call_adapter

Opened this issue · 1 comments

Before submitting your bug report

Relevant environment info

- OS:
- Continue version:
- IDE version:
- Model:
- config:
  

  
  OR link to agent in Continue hub:

Description

Similar functionality needs to be implemented for the openai/gpt-oss-120b and openai/gpt-oss-120b models https://github.com/irreg/native_tool_call_adapter

With relatively small models, cline and Roo-Code tool calls may not be handled properly. This application parses XML-formatted tool calls from Cline and Roo-Code and converts them into a format compliant with OpenAI API's tool_calls.

Significant improvements in performance have been confirmed with gpt-oss-20b and other models. Even with large models, the reduced load of considering tool calls should lead to more accurate behavior.

To reproduce

Log output