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

Expose sampling controls in assistants (#955) #959

Merged
merged 10 commits into from Mar 27, 2024

Conversation

nsarrazin
Copy link
Collaborator

@nsarrazin nsarrazin commented Mar 27, 2024

Screenshot 2024-03-27 at 13 31 03 Screenshot 2024-03-27 at 13 29 59

It opens by default if values are prefilled. I updated the endpoint code so it should work with every endpoint type. There's a tooltip for each field that works on mobile & desktop.

Had to deviate a bit from the design in #955, it was hard to fit the label and the field horizontally (only looked good on big screen at full width) so I ended up putting the label above the field.

Also used the native html details/summary elements instead of a button, and added a border around the content, otherwise it was easy to confuse with the user start messages below.

@nsarrazin nsarrazin added enhancement New feature or request assistants Related to the assistants feature labels Mar 27, 2024
@nsarrazin nsarrazin requested a review from gary149 March 27, 2024 12:28
@gary149 gary149 requested a review from mishig25 March 27, 2024 13:45
Copy link
Collaborator

@mishig25 mishig25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm !

@nsarrazin nsarrazin merged commit d4016bc into main Mar 27, 2024
3 checks passed
@nsarrazin nsarrazin deleted the feat/expose_sampling_assistants branch March 27, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assistants Related to the assistants feature enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants