Skip to content
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

Added default ModelId for Messages #59

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

Conversation

Krzysztof318
Copy link

@Krzysztof318 Krzysztof318 commented Nov 19, 2024

This PR added default ModelID to AnthropicClient.

So if consumer prefer to specify if once with client, not everytime with MessageParameters now has simple way to do this.

The PR won't break or change existing functionallity if consumer won't use new property.

Also added clone method to MessageParameters.

@tghamm
Copy link
Owner

tghamm commented Nov 20, 2024

Thanks @Krzysztof318 for the PR! A couple of small asks if possible. Could you add the same functionality to the traditional endpoints (not just the new ChatClient endpoints, and add associated unit tests to go along with the change that exhibit the behavior under a few scenarios?

@Krzysztof318
Copy link
Author

Hi, I haven't added Unit tests, because existing tests are more like integration tests due to http client is not mocked. But ok I will add tests to existing tests files.

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.

2 participants