# Inconsistent follow up answer of assistants using API compared to Playground

**URL:** <https://community.openai.com/t/inconsistent-follow-up-answer-of-assistants-using-api-compared-to-playground/1026926>\
**Category:** API\
**Tags:** assistants-api\
**Created:** [November 21, 2024, 5:02pm UTC](https://community.openai.com/t/inconsistent-follow-up-answer-of-assistants-using-api-compared-to-playground/1026926 "2024-11-21T17:02:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinitv](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/vinitv/32/448853_2.png) [@vinitv](https://community.openai.com/u/vinitv)\
**Post date:** [November 21, 2024, 5:02pm UTC](https://community.openai.com/t/inconsistent-follow-up-answer-of-assistants-using-api-compared-to-playground/1026926/1 "2024-11-21T17:02:04Z")

</div>

I’m developing an application for non-streaming conversations with assistants via API, primarily utilizing files stored in a vector database. While everything seems to work fine initially, I’ve noticed an inconsistency in response behavior.

The first response to any question asked via the API is almost identical to the response generated in the Playground—exactly as expected. However, the issue arises with subsequent questions. The answers, though not incorrect, differ slightly between the API and Playground. Both responses cite the same source file, but the phrasing or details in the API-generated answer vary.

Interestingly, when I ask the second question in a _new thread_ (both in the Playground and via API), the initial response matches perfectly again, just like the first question did.

I’ve ensured that all parameters—temperature, top-p, model, etc.—are identical for both the Playground and the API requests. Given this, I’m wondering if this could be a bug in v2 of the API. Many users have noted that the API should behave similarly, if not identically, to the Playground.

Has anyone else experienced this issue?

---

<div class="post-metadata">

**Author:** ![educryptos](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/educryptos/32/504222_2.png) [@educryptos](https://community.openai.com/u/educryptos)\
**Post date:** [November 23, 2024, 12:34am UTC](https://community.openai.com/t/inconsistent-follow-up-answer-of-assistants-using-api-compared-to-playground/1026926/2 "2024-11-23T00:34:11Z")

</div>

Same issue here. More than one bot started changing his behaviour without any changes. Also, when i checked the assistant the name and model had changed by itself.

---

<div class="post-metadata">

**Author:** ![vinitv](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/vinitv/32/448853_2.png) [@vinitv](https://community.openai.com/u/vinitv)\
**Post date:** [November 25, 2024, 6:30am UTC](https://community.openai.com/t/inconsistent-follow-up-answer-of-assistants-using-api-compared-to-playground/1026926/3 "2024-11-25T06:30:59Z")

</div>

So I rechecked everything and found that **temperature = 0.01** is the only requirement for consistent and same response between playground and API request.

I had tested earlier and found the answers to be different, but after several more tests and with various other files attached as vectore store, I conclude that it is temperature setting only that matters.

_Also found a further improvement in the answer matching between two when I add default\_headers={“OpenAI-Beta”: “assistants=v2”} parameter while creating API Client._

---

<div class="post-metadata">

**Author:** ![curt.kennedy](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/curt.kennedy/32/709249_2.png) [@curt.kennedy](https://community.openai.com/u/curt.kennedy)\
**Post date:** [February 22, 2026, 3:09am UTC](https://community.openai.com/t/inconsistent-follow-up-answer-of-assistants-using-api-compared-to-playground/1026926/4 "2026-02-22T03:09:29Z")

</div>


