Skip to content

Browser extension sidepanel chat doesn't respect openai.useChatCompletions #155

@Zevan770

Description

@Zevan770

With openai.useChatCompletions enabled, page summarizing works fine, but v1/responses is still used when I use side panel.

My config.json :

{
  "model": {
    "id": "openai/gpt-4.1"
  },
  "env": {
    "OPENAI_API_KEY": "dummy",
    "OPENAI_API_BASE": "http://localhost:4141/v1"
  },
  "openai": {
    "useChatCompletions": true
  }
}

daemon log

[summarize-daemon] agent failed Error: 400 This model does not support the responses endpoint. Please choose a different model.
    at streamAgentResponse (file:///C:/Users/*****/.bun/install/global/node_modules/@steipete/summarize/dist/esm/daemon/agent.js:297:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async handleAgentRoute (file:///C:/Users/*****/.bun/install/global/node_modules/@steipete/summarize/dist/esm/daemon/server-agent-route.js:77:9)
    at async file:///C:/Users/*****/.bun/install/global/node_modules/@steipete/summarize/dist/esm/daemon/server.js:269:17

Also local model server log here:

--> GET /v1/models 200 0ms
<-- POST /v1/chat/completions
--> POST /v1/chat/completions 200 1s
<-- POST /v1/responses
--> POST /v1/responses 400 1ms

Version:
0.12.0 (2051769)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions