Fabric icon indicating copy to clipboard operation
Fabric copied to clipboard

[Question]: How to set the interface protocol of Fabric to wire_api = "chat"?

Open SeasonPilot opened this issue 2 weeks ago • 3 comments

What is your question?

How to set the interface protocol of Fabric to wire_api = "chat"?

SeasonPilot avatar Dec 21 '25 03:12 SeasonPilot

@SeasonPilot Can you clarify? What exactly are you trying to do?

ksylvan avatar Dec 21 '25 07:12 ksylvan

@SeasonPilot Can you clarify? What exactly are you trying to do?

The API interface I use does not support the wire_api = "responses" protocol.

POST "https://myxxx.com/v1/responses": 404 Not Found "Not Found"

After checking the code, the configuration should be set like this:

# ~/.config/fabric/config.yaml
model: "gpt-5.2"
vendor: "OpenAI"
disableResponsesAPI: true  # Force use of the Chat Completions API

SeasonPilot avatar Dec 21 '25 09:12 SeasonPilot

Okay, so you seem to have answered your question. Is this complete?

Thank you!

ksylvan avatar Dec 21 '25 23:12 ksylvan