-
Notifications
You must be signed in to change notification settings - Fork 554
[inference] fold openai support into provider param
#1205
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
Conversation
| import { readTestFile } from "./test-files"; | ||
| import "./vcr"; | ||
| import { HARDCODED_MODEL_ID_MAPPING } from "../src/providers/consts"; | ||
| import { isUrl } from "../src/lib/isUrl"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm wondering if we should still namespace model names and strip it in the implem? (just to keep consistency with HF repos..) 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find it a bit redundant but ok to switch if you prefer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(what if they OS it at some point in the future? etc)
|
I addressed the comment but won't continue until we know which direction we want to take. Just let me know and I'll check the tests |
julien-c
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i can't self-approve (even though it's basically only @Wauplin's work 😁) but IMO this is good to go 👍
Wauplin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving it, though it doesn't count much ^^
provider paramprovider param
ie. no need to override a
endpointanymoreThis only works in "client-side" mode ie when passing a provider key
WDYT?