-
Notifications
You must be signed in to change notification settings - Fork 204
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
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.
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. |
PR is here @awsarron strands-agents/docs#115 |
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.
tested with
Hey @yanomaly, All looks great except it looks like the linter is failing due to this issue:
Would you mind fixing and we can get this merged? |
Great catch @yonib05, thank you! I fixed this issue. Also, I updated provider implementation and tests, to match the latest updates linked with async |
* feat: palmyra provider initial version * test: unit tests for Palmyra provider * feat: message content formatter for different palmyra models * test: integration tests for palmyra provider * refactor: changes made by hatch formatter * refactor: rename filew with Writer name instead of Palmyra * refactor: change writer provider integration tests structure * feat: structured outputs for Writer provider * refactor: add an upper version limit of writer-sdk dependency * feat: image inputs for Writer models * refactor: change name of config parameter to specify model from 'model' to 'model_id' * fix: solve issue for case of empty metadata * fix: delete unused config arguments * fix: pyproject.toml fix to pass linters * fix: fix methods signature to pass updated tests * feat: implement usage of async Writer client istead of sync * test: add tests for async agent calls
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.