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

Allow admins to set extra params for completion requests #86

Merged
merged 2 commits into from Apr 12, 2024

Conversation

julien-nc
Copy link
Member

Before we get dynamic parameters in AI providers, it's still nice to be able to manually set extra parameters for the completion request.

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc added the enhancement New feature or request label Apr 11, 2024
:label-outside="true"
:show-trailing-button="!!state.llm_extra_params"
@update:value="onInput(false)"
@trailing-button-click="state.llm_extra_params = '' ; onInput(false)" />
Copy link
Member

Choose a reason for hiding this comment

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

A hint that it's expected in JSON and perhaps a JSON validation would be nice

Copy link
Member

Choose a reason for hiding this comment

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

Ah, there's already a sort of hint

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc merged commit 3bdb18b into main Apr 12, 2024
12 checks passed
@delete-merged-branch delete-merged-branch bot deleted the enh/noid/add-llm-extra-params branch April 12, 2024 10:52
@julien-nc julien-nc mentioned this pull request Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants