Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancel Thread Run #618

Open
12 tasks
andreiavornic opened this issue Dec 12, 2024 · 0 comments
Open
12 tasks

Cancel Thread Run #618

andreiavornic opened this issue Dec 12, 2024 · 0 comments
Labels
t:bug Something isn't working

Comments

@andreiavornic
Copy link

System Info

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): thread.message.incomplete is not one of the supported values: thread.created, thread.run.created, thread.run.queued, thread.run.in_progress, thread.run.requires_action, thread.run.completed, thread.run.failed, thread.run.cancelling, thread.run.cancelled, thread.run.expired, thread.run.step.created, thread.run.step.in_progress, thread.run.step.delta, thread.run.step.completed, thread.run.step.failed, thread.run.step.cancelled, thread.run.step.expired, thread.message.created, thread.message.in_progress, thread.message.delta, thread.message.completed, thread.message.failed, error, done
#0 $enumDecode (package:json_annotation/src/enum_helpers.dart:83:5)
#1 _$$MessageStreamEventImplFromJson (package:openai_dart/src/generated/schema/schema.g.dart:6618:14)
#2 new _$MessageStreamEventImpl.fromJson (package:openai_dart/src/generated/schema/schema.freezed.dart:74515:7)
#3 _OpenAIAssistantStreamTra<…>

Related Components

  • doc-loaders
  • doc-transformers
  • prompts
  • llms
  • chat-models
  • output-parsers
  • chains
  • memory
  • stores
  • embeddings
  • retrievers
  • agents

Reproduction

await _client.cancelThreadRun(threadId: _threadId, runId: _runId!);

Expected behavior

thread.message.incomplete

@andreiavornic andreiavornic added the t:bug Something isn't working label Dec 12, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in LangChain.dart Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant