-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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: Refactor image interface and update to move llama cloud -> together provider #777
Conversation
width: options.width || 1024, | ||
height: options.height || 1024, | ||
...(options.count !== undefined | ||
? { count: options.count || 1 } |
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.
!= null for these as we probably want the {} on null and undefined.
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.
Will change to ...(options.count != null ? { count: options.count || 1 } : {}),
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.
Thanks so much for getting this out! Great work! :)
packages/core/src/models.ts
Outdated
@@ -107,6 +107,7 @@ export const models: Models = { | |||
[ModelClass.EMBEDDING]: "llama-3.1-8b-instant", | |||
}, | |||
}, | |||
// TODO: Remove LLAMACLOUD and just use Together |
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.
Should we create an issue for this so it doesn't get lost? Thanks so much!
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.
LGTM! If there is a way to update the test plan with a quick test run or screen grab would be amazing otherwise good to go :)
This PR integrates #752 and also updates to move TOGETHER to not be LLAMA_CLOUD since we have lots of llama clouds now :)