Skip to content

[Bug] search_conversation tool totally disappeared (2nd time) #16602

Closed

Description

@Dhrhciebcy

Environment

Where are you using Unsloth?

  • Unsloth desktop application
  • Unsloth web UI (unsloth studio)
  • Unsloth CLI
  • Python package or notebook
  • Colab or Kaggle

Operating system and version:
Windows 11 24H2

GPU model(s) and accelerator backend:
NVIDIA CUDA — RTX 5090 Mobile

Versions:

  • Unsloth: v0.1.914-beta
  • Package: 2026.11.1
  • Desktop: 0.1.914-beta
  • llama.cpp: custom build (TheTom), commit 30d6881 — but in reality it is irrelevant

What happened?

Same identical issue of #16187, the new update has probably solved nothing


The search_conversation tool has totally disappeared from the list of tools available to an AI model.
In issue #14708 I reported AI models failing to use this tool after a chat was compacted; the issue was only partially resolved, as it persisted for AI models accessed via API.
I was actually planning to open a new issue regarding this, but then this new version of Unsloth Studio was released, so I decided to update first.
I think it’s a good thing I did, because following this update, the search_conversation tool now has vanished entirely—both for models running via llama.cpp and those accessed via API. Consequently, once a chat is compacted, the AI ​​model no longer has any recollection of what happened previously, with no way now to retrieve that informations.

Steps to reproduce:

  1. Asking any question in a long chat—one that exceeds the AI ​​model's current context window
  2. The context will surely be compacted

Expected behavior:
As shown in the photo, the model would have firstly used the search_conversation tool and subsequently begun its reasoning process. Note how, in this example, it uses the tool even during the reasoning process, whenever it needs to retrieve information that probably is already in the chat

Image

Actual behavior:
The model is completely oblivious and hasn’t the faintest idea what is going on—especially if the chat history has been aggressively compacted

Image

Model and operation involved:
Inference — Studio chat tab, auto-compaction (rolling context window) + per-thread archive retrieval.

  • Local: Qwen 3.8-27B-Q5_K_M + mmproj, via llama.cpp backend
  • Remote: Qwen 3.8 Flash Next-IQ3_S via Strata backend (OpenAI-compatible)
    Same behaviour on both paths, same on desktop app and web UI

Activity

  1. added
    feature request
    on Nov 4, 2026
  2. debojyoti-dev commented on Nov 4, 2026

    @debojyoti-dev
    Contributor

    Hi @Dhrhciebcy, thanks for following up. The two screenshots here are the same files as in #16187, so they show the v0.1.913 run, from before #16204 landed in v0.1.914. Could you share a screenshot from a turn that ran after updating to v0.1.914? A few details would help pin it down:

    1. Was that the first turn where this chat compacted, or had it compacted on an earlier turn too? On the turn where a chat first compacts, search_conversation isn't offered yet and Studio recalls earlier turns automatically instead.
    2. Did the turn hit the tool call limit before the "Context compacted" line, like in the second screenshot?
    3. On the next turn in the same chat, does the model still not get search_conversation?

    cc @danielhanchen

  3. self-assigned this
    on Nov 4, 2026
  4. danielhanchen commented on Nov 4, 2026

    @danielhanchen
    Member

    Fixed! The screenshots here are the same ones as in #16187, so they are from v0.1.913. search_conversation was never removed: on the turn where a long chat first gets compacted it is not offered yet, and Studio brings the earlier turns back for the model automatically instead. On v0.1.913 that automatic recall was broken, which is the "I don't have any prior findings" answer in your second screenshot, and #16204 fixed it in v0.1.914. From the next turn on the model is offered search_conversation again. On API models there was one more gap: a search made later in the same turn could not find what the model itself had found earlier in that turn once it was compacted away, and #16666 fixes that (it will be in the next release).
    To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update. For Docker, use docker exec <container> unsloth-studio-update. Reopen if it still happens, ideally with a screenshot from a turn that ran on the new version.

  5. Dhrhciebcy commented on Nov 4, 2026

    @Dhrhciebcy
    Author

    Hi @debojyoti-dev, thank you for coming to my aid!
    And yes, the two screenshots are the same files as in #16187 because, in my opinion, the behavior is the same.
    Anyway I have tried it again with the newer version (v0.1.914) and this are two new screenshots about the problem. I only tried the model via API connection, but I think that is the same with local model through llama.cpp

    Image
    Image

    As you can see also from the photos, the chats were long enough to demonstrate the issue.

    Update: @danielhanchen you have been incredibly efficient! 😂😂
    You’ve already wrapped everything up right in front of me while I was in the middle of drafting this message ahahahahah
    You guys are great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugfeature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions