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

Move ai-gateway-provider to cloudflare/ai repo #56

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

Conversation

G4brym
Copy link

@G4brym G4brym commented Mar 28, 2025

No description provided.

@G4brym G4brym changed the title Move ai-gateway-provider to @cloudflare/ai repo Move ai-gateway-provider to cloudflare/ai repo Mar 28, 2025
@G4brym G4brym force-pushed the move-ai-gateway-provider branch from b7212c0 to 7674c4a Compare March 28, 2025 15:18
@G4brym G4brym force-pushed the move-ai-gateway-provider branch from 7674c4a to 2875ca9 Compare March 28, 2025 15:21
@andyjessop
Copy link
Collaborator

This looks good! The only change I would suggest is to add some tests. You could use a similar pattern to what we have here whereby the AI remote call is mocked.

request?: { body?: string };
warnings?: Array<LanguageModelV1CallWarning>;
}> {
throw new Error("Method not implemented.");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we have plans to implement this? Streaming output seems to be more common, so I think that we will have lots of requests for this.

Copy link
Author

Choose a reason for hiding this comment

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

its on my todo list, i will get to that next week or after devweek

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