tryAGI / tryAGI/LangChain

Bug title

Open
#340 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug providers
Dominant language
C#
Stars
1.1k
Forks
141
Avg merge
2d 18m
Merged PRs (30d)
2

Description

Describe the bug

running the example LangChain.Samples.Prompts throws System.InvalidOperationException : 'Return values have multiple keys, 'run' only supported when one key currently'

Steps to reproduce the bug

set LangChain.Samples.Prompts as startup project and run.
exception will be thrown n LangChain.Base.BaseChain.RunAsync(..)

Expected behavior

No response

Screenshots

image

NuGet package version

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run the LangChain.Samples.Prompts example with the reported setup and reproduce the InvalidOperationException from LangChain.Base.BaseChain.RunAsync. Inspect how the example handles multiple return keys; completion should prevent the reported exception or establish the intended behavior for this case.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ai
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.