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

chore: add default inference parameters for custom remote models #4584

Conversation

louis-menlo
Copy link
Contributor

This pull request includes an enhancement to the addRemoteModel method in the JSONEngineManagementExtension class to include additional inference parameters when adding a model.

CleanShot 2025-02-05 at 16 44 36@2x

Enhancements to addRemoteModel method:

  • extensions/engine-management-extension/src/index.ts: Modified the addRemoteModel method to include additional inference parameters (max_tokens, temperature, top_p, stream, frequency_penalty, presence_penalty) in the JSON payload when posting to the API.

@louis-menlo louis-menlo requested a review from urmauur February 5, 2025 09:46
@github-actions github-actions bot added the type: chore Maintenance, operational label Feb 5, 2025
Copy link
Contributor

github-actions bot commented Feb 5, 2025

Barecheck - Code coverage report

Total: 67.72%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

Copy link
Contributor

github-actions bot commented Feb 5, 2025

This is the build for this pull request. You can download it from the Artifacts section here: Build URL.

@louis-menlo louis-menlo merged commit b79edc2 into release/v0.5.15 Feb 5, 2025
21 checks passed
@louis-menlo louis-menlo deleted the chore/add-default-inference-parameters-for-new-adding-remote-model branch February 5, 2025 14:21
@github-actions github-actions bot added this to the v0.5.15 milestone Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore Maintenance, operational
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants