-
Notifications
You must be signed in to change notification settings - Fork 30
feat: initial cloudflare-ai alpha release #943
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
Closed
professorice
wants to merge
17
commits into
launchdarkly:main
from
professorice:mzafir/cloudflare-ai-sdk
Closed
feat: initial cloudflare-ai alpha release #943
professorice
wants to merge
17
commits into
launchdarkly:main
from
professorice:mzafir/cloudflare-ai-sdk
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…p instructions that are not currently available.
…Cloudflare AI SDK usage
…chDarkly random joke integration
… be exactly like @launchdarkly/server-sdk-ai
…ConfigTracker implementations
You can use the cloudflare-server-sdk with the server-sdk-ai package since it implements the min interface needed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Requirements
Related issues
Provide links to any issues in this repository or elsewhere relating to this pull request.
Describe the solution you've provided
Provide a clear and concise description of what you expect to happen.
Describe alternatives you've considered
Provide a clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context about the pull request here.
Note
Adds a new
@launchdarkly/cloudflare-server-sdk-ai
package integrating LaunchDarkly AI Configs with Cloudflare Workers AI, plus example, tests, and workspace wiring.packages/sdk/cloudflare-ai
@launchdarkly/cloudflare-server-sdk-ai
withinitAi
,config
,agent
, andagents
APIs.config.toWorkersAI(...)
and normalizes parameters.clientSideID
+KVNamespace
; Mustache-based template interpolation formessages
.LDAIConfigTrackerImpl
): success/error, duration, TTFT, token usage; Workers AI helpers for sync/stream.packages/sdk/cloudflare-ai/example
random-joke
),wrangler.toml
, TypeScript setup, and start/deploy scripts.LDAIClientImpl
covering config retrieval, interpolation, tracking, and Workers AI mapping.package.json
workspaces to includepackages/sdk/cloudflare-ai
andpackages/sdk/cloudflare-ai/example
.packages/tooling/jest/README.md
with a Quickstart example and adjusts setup guidance.Written by Cursor Bugbot for commit 61f9300. This will update automatically on new commits. Configure here.