I want to use open ai responses api in the agent custom connection in odc. but problem is that there is by default /chat/completions are added in the end so I can not use. https://api.openai.com/v1/responses
Is there any work around for that.
Hi Navneet,
I faced something similar recently. Right now, ODC automatically appends /chat/completions to the endpoint, so using /v1/responses directly isn’t supported out-of-the-box.
A couple of things you can try:
- Create a reverse-proxy endpoint Expose a URL from your backend (e.g., OS Traditional, Service Center module, or simple Node/.NET service) that forwards the request to https://api.openai.com/v1/responses Then point ODC to that proxy. This is probably the cleanest workaround for now.- Use the regular completions URL If your use case is compatible with /chat/completions, you can still call OpenAI with the same model. But I understand this won’t work if you specifically need /responses.
As of now I don’t see a direct setting to change the auto-suffix, so workaround #1 looks more realistic.
Not 100% sure, but worth giving it a try. Do share if you find another way — would be helpful for others too!Thanks and Regards,Akshay Deshpande