# \#sdk

**URL:** https://community.openai.com/tag/sdk/301.md

[Latest](https://community.openai.com/latest.md) · [Categories](https://community.openai.com/categories.md) · [Tags](https://community.openai.com/tags.md)

---

## [Developer reports GitHub ban after requesting tiktoken support for GPT-6](https://community.openai.com/t/developer-reports-github-ban-after-requesting-tiktoken-support-for-gpt-6/1407631)

<div class="topic-metadata">

**Author:** [@MovingOn](https://community.openai.com/u/MovingOn)\
**Replies:** 20\
**Last updated:** [October 20, 2026, 8:38am UTC](https://community.openai.com/t/developer-reports-github-ban-after-requesting-tiktoken-support-for-gpt-6/1407631 "2026-10-20T08:38:45Z")

</div>

To first give you the background, tiktoken (the tool for counting tokens in text) has not ever been maintained adequately. It is an essential Python software for application developers who need to fit large text into the…

---

## [codex-python-sdk — a tiny Python wrapper to use Codex without subprocess glue](https://community.openai.com/t/codex-python-sdk-a-tiny-python-wrapper-to-use-codex-without-subprocess-glue/1374459)

<div class="topic-metadata">

**Author:** [@Henry\_spdcoding](https://community.openai.com/u/Henry_spdcoding)\
**Replies:** 1\
**Last updated:** [February 17, 2026, 3:31pm UTC](https://community.openai.com/t/codex-python-sdk-a-tiny-python-wrapper-to-use-codex-without-subprocess-glue/1374459 "2026-02-17T15:31:10Z")

</div>

Hi folks — I just open-sourced codex-python-sdk, a tiny Python SDK that makes it easy to call Codex from Python with an ergonomic client API. Why I built this I use Codex a lot in automation and quick prototypes, and I…

---

## [Predicted Outputs in Response API](https://community.openai.com/t/predicted-outputs-in-response-api/1373125)

<div class="topic-metadata">

**Author:** [@palashmunshi](https://community.openai.com/u/palashmunshi)\
**Replies:** 0\
**Last updated:** [February 2, 2026, 9:57am UTC](https://community.openai.com/t/predicted-outputs-in-response-api/1373125 "2026-02-02T09:57:24Z")

</div>

I am currently using the Chat Completion API and want to switch to the new Responses API. the Chat completion API has a predictions parameter which lets the user send the predicted outputs to the model but the same isn’t…

---

## [Bug: Previous Widget Hides/Disappears Upon Second Rendering](https://community.openai.com/t/bug-previous-widget-hides-disappears-upon-second-rendering/1371722)

<div class="topic-metadata">

**Author:** [@hungdinhvan](https://community.openai.com/u/hungdinhvan)\
**Replies:** 6\
**Last updated:** [January 22, 2026, 3:01am UTC](https://community.openai.com/t/bug-previous-widget-hides-disappears-upon-second-rendering/1371722 "2026-01-22T03:01:30Z")

</div>

This morning, while utilizing the ChatGPT Apps SDK, I observed a defect: upon rendering the second widget, the previously displayed widget ceases to render and is no longer visible. My local codebase is consistent with…

---

## [OpenAI Batch Helper: making Batch API jobs painless](https://community.openai.com/t/openai-batch-helper-making-batch-api-jobs-painless/1371178)

<div class="topic-metadata">

**Author:** [@higher\_for\_longer](https://community.openai.com/u/higher_for_longer)\
**Replies:** 0\
**Last updated:** [January 7, 2026, 5:54pm UTC](https://community.openai.com/t/openai-batch-helper-making-batch-api-jobs-painless/1371178 "2026-01-07T17:54:44Z")

</div>

TL;DR: I built a typed Python wrapper around the OpenAI Batch API that handles the annoying parts with Batch API calls — JSONL prep/upload, job submission, polling, result download, and mapping outputs back to your task …

---

## [Is subject from \_meta\["openai/subject"\] permanent?](https://community.openai.com/t/is-subject-from-meta-openai-subject-permanent/1370812)

<div class="topic-metadata">

**Author:** [@soham\_haldar](https://community.openai.com/u/soham_haldar)\
**Replies:** 0\
**Last updated:** [January 3, 2026, 12:24pm UTC](https://community.openai.com/t/is-subject-from-meta-openai-subject-permanent/1370812 "2026-01-03T12:24:43Z")

</div>

I have to ask is \_meta\[“openai/subject”\] permanently same or it is changed after some timeperiod.

---

## [Please make window.openai.uploadFile(file) support csv type](https://community.openai.com/t/please-make-window-openai-uploadfile-file-support-csv-type/1370003)

<div class="topic-metadata">

**Author:** [@goo](https://community.openai.com/u/goo)\
**Replies:** 0\
**Last updated:** [December 22, 2025, 10:52pm UTC](https://community.openai.com/t/please-make-window-openai-uploadfile-file-support-csv-type/1370003 "2025-12-22T22:52:40Z")

</div>

Can we allow csv file type for uploadFile on top of the image types like jpeg? Here’s the context. The support of csv file will make the apps be better at data processing at a much larger scale.

---

## [Are ChatGPT docs lying about this MCP tool field existing?](https://community.openai.com/t/are-chatgpt-docs-lying-about-this-mcp-tool-field-existing/1362688)

<div class="topic-metadata">

**Author:** [@camel](https://community.openai.com/u/camel)\
**Replies:** 4\
**Last updated:** [December 20, 2025, 4:40pm UTC](https://community.openai.com/t/are-chatgpt-docs-lying-about-this-mcp-tool-field-existing/1362688 "2025-12-20T16:40:52Z")

</div>

I’ve been able to create a read-only app with the Apps SDK. Pretty cool seeing it in the chat! I’m really excited about the idea of this becoming a platform. But for anything actually useful I can think of, persistent st…

---

## [Responses, Bug: error event shape is wrong between documentation and SDKs and reality](https://community.openai.com/t/responses-bug-error-event-shape-is-wrong-between-documentation-and-sdks-and-reality/1358301)

<div class="topic-metadata">

**Author:** [@\_j](https://community.openai.com/u/_j)\
**Replies:** 1\
**Last updated:** [September 17, 2025, 4:29am UTC](https://community.openai.com/t/responses-bug-error-event-shape-is-wrong-between-documentation-and-sdks-and-reality/1358301 "2025-09-17T04:29:47Z")

</div>

What it says What it depicts { "type": "error", "code": "ERR\_SOMETHING", "message": "Something went wrong", "param": null, "sequence\_number": 1 } What is actually received event: error data: {"type":"erro…

---

## [How to add Custom Interceptors In OpenAI Java SDK](https://community.openai.com/t/how-to-add-custom-interceptors-in-openai-java-sdk/1306481)

<div class="topic-metadata">

**Author:** [@Prashanth\_Holla](https://community.openai.com/u/Prashanth_Holla)\
**Replies:** 4\
**Last updated:** [August 8, 2025, 4:14pm UTC](https://community.openai.com/t/how-to-add-custom-interceptors-in-openai-java-sdk/1306481 "2025-08-08T16:14:56Z")

</div>

How to add Custom Interceptors In OpenAI Java SDK when using response API? All i Can do is OpenAIOkHttpClient.builder() .apiKey(“Keys”) .timeout(Duration.ofSeconds(300)) .maxRetries(3) .responseValidation(true) .b…

---

## [Problem with Responses API + Stream + Function Calling with Openai Python SDK](https://community.openai.com/t/problem-with-responses-api-stream-function-calling-with-openai-python-sdk/1266970)

<div class="topic-metadata">

**Author:** [@ciro.artigot](https://community.openai.com/u/ciro.artigot)\
**Replies:** 8\
**Last updated:** [May 22, 2025, 7:51pm UTC](https://community.openai.com/t/problem-with-responses-api-stream-function-calling-with-openai-python-sdk/1266970 "2025-05-22T19:51:45Z")

</div>

Hello, I have a problem ini my python implementation with openai SDK using the responses API with stream and function calling. It´s all ok, the endpoint works fine streaming text messages and file search. I’m implemen…

---

## [600+ Days of an AI Podcast I Accidentally Got Emotionally Attached To](https://community.openai.com/t/600-days-of-an-ai-podcast-i-accidentally-got-emotionally-attached-to/1229859)

<div class="topic-metadata">

**Author:** [@andy](https://community.openai.com/u/andy)\
**Replies:** 1\
**Last updated:** [April 11, 2025, 4:39pm UTC](https://community.openai.com/t/600-days-of-an-ai-podcast-i-accidentally-got-emotionally-attached-to/1229859 "2025-04-11T16:39:06Z")

</div>

Hi there! I don’t post things in this community often, but I’ve run a few small experiments with AI at the core, and now that I’m on a bit of a break from building things exploring other ventures, I figured it’d be a goo…

---

## [OpenAI Chat Intialization Latency. Is there a way to initialize once and reusing the object like socket?](https://community.openai.com/t/openai-chat-intialization-latency-is-there-a-way-to-initialize-once-and-reusing-the-object-like-socket/1129298)

<div class="topic-metadata">

**Author:** [@developerp248](https://community.openai.com/u/developerp248)\
**Replies:** 0\
**Last updated:** [February 25, 2025, 12:41pm UTC](https://community.openai.com/t/openai-chat-intialization-latency-is-there-a-way-to-initialize-once-and-reusing-the-object-like-socket/1129298 "2025-02-25T12:41:26Z")

</div>

When we try to connect with OpenAi using chat.completions.create, we have to create this with every response. const response: any = await openAi.chat.completions.create({ model: OPENAI\_MODEL, store: false, message…

---

## [Node SDK uploadAndPoll does not propagate chunking strategy to created files](https://community.openai.com/t/node-sdk-uploadandpoll-does-not-propagate-chunking-strategy-to-created-files/954516)

<div class="topic-metadata">

**Author:** [@david.sarnago](https://community.openai.com/u/david.sarnago)\
**Replies:** 0\
**Last updated:** [September 24, 2024, 12:26pm UTC](https://community.openai.com/t/node-sdk-uploadandpoll-does-not-propagate-chunking-strategy-to-created-files/954516 "2024-09-24T12:26:00Z")

</div>

Trying to upload multiple files directoy to a vector store with the node sdk, every time the resulting files have the default chunking strategy. With the following snippet: await req.openai.beta.vectorStores.fileBa…

---

## [Text to Speech streaming with OpenAI's Nodejs SDK](https://community.openai.com/t/text-to-speech-streaming-with-openais-nodejs-sdk/771135)

<div class="topic-metadata">

**Author:** [@tabatabaie.mojtaba](https://community.openai.com/u/tabatabaie.mojtaba)\
**Replies:** 1\
**Last updated:** [August 2, 2024, 5:55pm UTC](https://community.openai.com/t/text-to-speech-streaming-with-openais-nodejs-sdk/771135 "2024-08-02T17:55:44Z")

</div>

Hey everyone, I’m trying to do TTS with OpenAI’s Node js SDK, in the docs page (https://platform.openai.com/docs/guides/text-to-speech?lang=node) the streaming sample is only for python, I wanted to ask if you know that …

---

## [Using Assistant Python SDK with multiple function calling and streaming that works with Flask or FastAPI](https://community.openai.com/t/using-assistant-python-sdk-with-multiple-function-calling-and-streaming-that-works-with-flask-or-fastapi/872920)

<div class="topic-metadata">

**Author:** [@ootkin](https://community.openai.com/u/ootkin)\
**Replies:** 0\
**Last updated:** [July 19, 2024, 4:22pm UTC](https://community.openai.com/t/using-assistant-python-sdk-with-multiple-function-calling-and-streaming-that-works-with-flask-or-fastapi/872920 "2024-07-19T16:22:42Z")

</div>

Hi there, I’m trying to implement an Agent Using the Assistant API with the python SDK. My goal is to serve an assistant over a Flask application using streaming. The Assistant needs to use multiple function call in ord…

---

## [We started to developed an OpenAI Elixir Hex package](https://community.openai.com/t/we-started-to-developed-an-openai-elixir-hex-package/742380)

<div class="topic-metadata">

**Author:** [@onurozgurozkan](https://community.openai.com/u/onurozgurozkan)\
**Replies:** 0\
**Last updated:** [May 11, 2024, 7:10am UTC](https://community.openai.com/t/we-started-to-developed-an-openai-elixir-hex-package/742380 "2024-05-11T07:10:18Z")

</div>

Hi Folks, My company started to develop an OpenAI Elixir hex package. Feedback and pull request are welcome. Regards.

---

## [Where is the documentation for the Python OpenAI SDK?](https://community.openai.com/t/where-is-the-documentation-for-the-python-openai-sdk/583643)

<div class="topic-metadata">

**Author:** [@alexworden](https://community.openai.com/u/alexworden)\
**Replies:** 5\
**Last updated:** [February 20, 2024, 5:57am UTC](https://community.openai.com/t/where-is-the-documentation-for-the-python-openai-sdk/583643 "2024-02-20T05:57:03Z")

</div>

I’m new to Python so sorry if there’s some convention I’m missing. I’m trying to use the OpenAI SDK but there doesn’t seem to be any way to know what methods it has or what parameters they take and return. Where can I f…

---

## [System data : Is there a way to opt-out?](https://community.openai.com/t/system-data-is-there-a-way-to-opt-out/625026)

<div class="topic-metadata">

**Author:** [@lunik](https://community.openai.com/u/lunik)\
**Replies:** 1\
**Last updated:** [February 14, 2024, 1:42am UTC](https://community.openai.com/t/system-data-is-there-a-way-to-opt-out/625026 "2024-02-14T01:42:54Z")

</div>

Hi, while trying to debug API calls made to OpenAI APIs I discovered that the Python SDK is sending system info data to the server including : OS Arch Python runtime Python runtime version … For example : headers: …

---

## [Practical Examples of GPT in SDK Development](https://community.openai.com/t/practical-examples-of-gpt-in-sdk-development/549160)

<div class="topic-metadata">

**Author:** [@davidchen](https://community.openai.com/u/davidchen)\
**Replies:** 0\
**Last updated:** [December 8, 2023, 4:03am UTC](https://community.openai.com/t/practical-examples-of-gpt-in-sdk-development/549160 "2023-12-08T04:03:39Z")

</div>

I have encountered instances where GPT is applied in the generation of Software Development Kits (SDKs). At present, I am working on developing a Python wrapper for FFMPEG, aiming to include complete type hints for all i…

---

## [Exciting news for @OpenAI devs: OpenAI is close to a 1.0 release of the OpenAI Python SDK](https://community.openai.com/t/exciting-news-for-openai-devs-openai-is-close-to-a-1-0-release-of-the-openai-python-sdk/413966)

<div class="topic-metadata">

**Author:** [@Foxalabs](https://community.openai.com/u/Foxalabs)\
**Replies:** 1\
**Last updated:** [October 7, 2023, 2:44am UTC](https://community.openai.com/t/exciting-news-for-openai-devs-openai-is-close-to-a-1-0-release-of-the-openai-python-sdk/413966 "2023-10-07T02:44:19Z")

</div>

New OpenAI Python SDK beta test announcement.
