Skip to content

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

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Conversation

yanomaly
Copy link

@yanomaly yanomaly commented Jun 16, 2025

Description

Implementation of Writer LLMs provider

Related Issues

#227

Documentation PR

N/A

Type of Change

  • New feature

Testing

Integration and Unit test of created implementation

Checklist

  • I have read the CONTRIBUTING document
  • I have added tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yanomaly yanomaly changed the title Palmyra providel Palmyra provider Jun 16, 2025
@yanomaly yanomaly marked this pull request as ready for review June 18, 2025 13:41
@awsarron awsarron self-assigned this Jun 25, 2025
Copy link
Member

@awsarron awsarron left a 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.

"totalTokens": event["data"].total_tokens,
},
"metrics": {
"latencyMs": 0, # All palmyra models don't provide 'latency' metadata
Copy link
Member

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?

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

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.

@awsarron
Copy link
Member

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.

@awsarron awsarron changed the title Palmyra provider Writer model provider Jun 27, 2025
@yanomaly yanomaly requested a review from awsarron June 27, 2025 13:09
@mehtarac mehtarac self-assigned this Jun 27, 2025
@mehtarac mehtarac self-requested a review June 27, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants