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

fix(llm): mark model.options.upstream_path as deprecated #14178

Merged
merged 3 commits into from
Feb 6, 2025

Conversation

fffonion
Copy link
Contributor

@fffonion fffonion commented Jan 16, 2025

Summary

model.options.upstream_path caused some confusion in some drivers (namely openai and huggingface) a static prefix is always attached while others are not.

it’s also causing conflicts with upstream_url

Users would be able to move to use upstream_url to archieve same functionality.

may need to add a test

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

AG-201

@fffonion fffonion force-pushed the deprecate-upstream-path branch from 24faa26 to 7b28ee2 Compare January 16, 2025 10:02
@ADD-SP ADD-SP added incomplete-cherry-pick A cherry-pick was incomplete and needs manual intervention and removed incomplete-cherry-pick A cherry-pick was incomplete and needs manual intervention labels Feb 5, 2025
@ADD-SP
Copy link
Contributor

ADD-SP commented Feb 5, 2025

Could you also link the cherry-pick PR?

@fffonion fffonion merged commit 0ba6c08 into master Feb 6, 2025
26 checks passed
@fffonion fffonion deleted the deprecate-upstream-path branch February 6, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants