[GH-ISSUE #9748] Consider adding a fake /traces/ingest OpenAI endpoint #6368

Open
opened 2026-04-12 17:52:54 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @codefromthecrypt on GitHub (Mar 13, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9748

The OpenAI agents SDK by default does two things not compatible with the current Ollama OpenAI Impl

  • uses the new /responses API (can disable with OpenAIProvider(use_responses=False))
  • sends traffic to /traces/ingest (can disable by GLOBAL_TRACE_PROVIDER.shutdown())

The latter isn't very documented and it might be better to just make a consuming impl of /traces/ingest, which tosses the data. Doing so would make things zero config.

Here's an example in python of the lines I'd like to delete with a change like this.
https://gist.github.com/codefromthecrypt/c7a46ce53d36680553b5af5e41f9e37e#file-main-py-L8-L11

Originally created by @codefromthecrypt on GitHub (Mar 13, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9748 The OpenAI agents SDK by default does two things not compatible with the current Ollama OpenAI Impl * uses the new /responses API (can disable with `OpenAIProvider(use_responses=False)`) * sends traffic to /traces/ingest (can disable by `GLOBAL_TRACE_PROVIDER.shutdown()`) The latter isn't very documented and it might be better to just make a consuming impl of /traces/ingest, which tosses the data. Doing so would make things zero config. Here's an example in python of the lines I'd like to delete with a change like this. https://gist.github.com/codefromthecrypt/c7a46ce53d36680553b5af5e41f9e37e#file-main-py-L8-L11
GiteaMirror added the feature request label 2026-04-12 17:52:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#6368