Skip to content

update model router python examples #128

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

Merged
merged 1 commit into from
May 8, 2025
Merged

Conversation

johnymontana
Copy link
Member

Update Python model router text generation and embedding examples to be more pythonic:

  • use with context container
  • use requests' response.raise_for_status() function for error handling

@Copilot Copilot AI review requested due to automatic review settings May 8, 2025 19:16
@johnymontana johnymontana requested a review from a team as a code owner May 8, 2025 19:16
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • model-router.mdx: Language not supported

@kvangundy kvangundy merged commit 8495d9a into main May 8, 2025
9 checks passed
@kvangundy kvangundy deleted the model-router-python-update branch May 8, 2025 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants