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

[Bug]: Prompt Dropdown Variable #3688

Closed
1 task done
kukoboris opened this issue Aug 18, 2024 · 3 comments · Fixed by #3692
Closed
1 task done

[Bug]: Prompt Dropdown Variable #3688

kukoboris opened this issue Aug 18, 2024 · 3 comments · Fixed by #3692
Labels
🐛 bug Something isn't working

Comments

@kukoboris
Copy link
Contributor

kukoboris commented Aug 18, 2024

What happened?

I created a prompt and utilised the Prompt Dropdown Variable to substitute options from a dropdown list into the text of the prompt. When one of the options is selected, that option is substituted into the prompt in the preview. However, when the prompt is submited into the chat - some strange list is inserted instead of one desired variable.

Steps to Reproduce

  1. Create a prompt
  2. Insert Dropdown Variable {{variable_name:option1|option2|option3}}
  3. Save it
  4. Start a new conversation with this prompt
  5. Chose an option in the dropdown menu
  6. Submit
  7. Check you prompt

What browsers are you seeing the problem on?

Firefox

Relevant log output

No response

Screenshots

изображение изображение изображение

Code of Conduct

  • I agree to follow this project's Code of Conduct
@kukoboris kukoboris added the 🐛 bug Something isn't working label Aug 18, 2024
@danny-avila
Copy link
Owner

@kmeshcheryakov Can you take a look? it should be an easy fix, looks like we were missing the submission piece in #3618

I will address this if I can soon

@danny-avila
Copy link
Owner

I want to improve the dropdown for this anyway, can probably touch on it soon

@danny-avila
Copy link
Owner

now resolved, added a better dropdown too

Screen.Recording.2024-08-18.222433.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants