Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Two chats, one session - buggy tool calls

Offen
#296 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
clojure
Bereich
backend

Rechercherichtung

No files or tests are named. Start by tracing how chats in one workspace handle tool-call completion and approval, and how their HTTP streams are managed; the report describes a failure when one chat advances while another awaits approval. Done means activity in one chat no longer causes the other chat to fail, with a regression test covering that interaction.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

Describe the bug
When having two chats for one workspace I noticed a strange behavior (with openai-chat but it doesn't probably make any difference).

  1. First chat finished some tool call and nothing is happening.
  2. The second chat is waiting for tool call approval
  3. Approving the tool call in the second chat will result in error: closed in the first chat.
  4. And this is the error I see in shared stderr
{:exception #error {
 :cause EOF reached while reading
 :via
 [{:type java.io.IOException
   :message closed
   :at [jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream current ResponseSubscribers.java 448]}
  {:type java.io.EOFException
   :message EOF reached while reading
   :at [jdk.internal.net.http.Http2Connection$Http2TubeSubscriber onComplete Http2Connection.java 1885]}]
 :trace
 [[jdk.internal.net.http.Http2Connection$Http2TubeSubscriber onComplete Http2Connection.java 1885]
  [jdk.internal.net.http.common.SSLTube$DelegateWrapper onComplete SSLTube.java 276]
  [jdk.internal.net.http.common.SSLTube$SSLSubscriberWrapper complete SSLTube.java 440]
  [jdk.internal.net.http.common.SSLTube$SSLSubscriberWrapper onComplete SSLTube.java 541]
  [jdk.internal.net.http.common.SubscriberWrapper checkCompletion SubscriberWrapper.java 474]
  [jdk.internal.net.http.common.SubscriberWrapper$DownstreamPusher run1 SubscriberWrapper.java 334]
  [jdk.internal.net.http.common.SubscriberWrapper$DownstreamPusher run SubscriberWrapper.java 259]
  [jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask run SequentialScheduler.java 182]
  [jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask run SequentialScheduler.java 149]
  [jdk.internal.net.http.common.SequentialScheduler$SchedulableTask run SequentialScheduler.java 207]
  [jdk.internal.net.http.common.SequentialScheduler runOrSchedule SequentialScheduler.java 280]
  [jdk.internal.net.http.common.SequentialScheduler runOrSchedule SequentialScheduler.java 233]
  [jdk.internal.net.http.common.SubscriberWrapper outgoing SubscriberWrapper.java 232]
  [jdk.internal.net.http.common.SSLFlowDelegate$Reader processData SSLFlowDelegate.java 540]
  [jdk.internal.net.http.common.SSLFlowDelegate$Reader$ReaderDownstreamPusher run SSLFlowDelegate.java 283]
  [jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask run SequentialScheduler.java 182]
  [jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask run SequentialScheduler.java 149]
  [jdk.internal.net.http.common.SequentialScheduler$SchedulableTask run SequentialScheduler.java 207]
  [java.util.concurrent.ThreadPoolExecutor runWorker ThreadPoolExecutor.java 1144]
  [java.util.concurrent.ThreadPoolExecutor$Worker run ThreadPoolExecutor.java 642]
  [java.lang.Thread run Thread.java 1583]]}}

To Reproduce

  • It is hard to reproduce this one. It looks like it is happening only when one chat has finished tool call and wants to advance while the second chat waits for approval. I hope the error will be helpful enough.

Expected behavior

One chat can't influence the second.

Vorherrschende Sprache
Clojure
Sterne
1k
Forks
82
Ø Merge
1 T. 19 Std.
Gemergte PRs (30 T.)
18

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus editor-code-assistant/eca

Alle Issues in editor-code-assistant/eca

Ähnliche Issues

Weitere Issues zu Clojure

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.