-
Notifications
You must be signed in to change notification settings - Fork 183
Writer model provider #228
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
base: main
Are you sure you want to change the base?
Conversation
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.
Thank you for this awesome contribution @yanomaly!
I added a small number of comments. We'll need to rebase your changes here as well to resolve merge conflicts.
src/strands/models/palmyra.py
Outdated
"totalTokens": event["data"].total_tokens, | ||
}, | ||
"metrics": { | ||
"latencyMs": 0, # All palmyra models don't provide 'latency' metadata |
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.
could this be a feature request for Writer teams to return server-side latency data?
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'll check with the API team on this
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.
@awsarron it's not currently on the roadmap. I'll talk it through with Product and Eng but even if so it likely wouldn't be in time for this launch/deadline.
would be worth opening a PR for Writer model provider documentation in https://github.com/strands-agents/docs. https://strandsagents.com/latest/user-guide/concepts/model-providers/llamaapi/ can be used as an example. It would be good to follow the same style, formatting, and language for consistency. |
Description
Implementation of Writer LLMs provider
Related Issues
#227
Documentation PR
N/A
Type of Change
Testing
Integration and Unit test of created implementation
Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.