Skip to content

fix: align run() invocation key with chain input - #145

Open
prajakta128 wants to merge 1 commit into
sugarlabs:mainfrom
prajakta128:fix-question-key
Open

fix: align run() invocation key with chain input#145
prajakta128 wants to merge 1 commit into
sugarlabs:mainfrom
prajakta128:fix-question-key

Conversation

@prajakta128

Copy link
Copy Markdown

Summary

This PR fixes a mismatch between the expected chain input key and the key used during invocation in run().

Issue

The chain is configured to use:

"question"

But invocation used:

"query"

This mismatch can lead to incorrect or empty prompt input.

Fix

Replaced:

"query""question"

Impact

  • Aligns invocation with chain definition
  • Prevents missing input issues
  • Minimal safe fix

@prajakta128

Copy link
Copy Markdown
Author

Hi! I noticed a small mismatch between the chain input key and invocation.
I fixed it by aligning the key to question.
Happy to make changes if needed. Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant