Skip to content

Cto/make cloudflare free deployable#113

Open
ylstack1 wants to merge 3 commits into
open-ma:mainfrom
ylstack1:cto/make-cloudflare-free-deployable
Open

Cto/make cloudflare free deployable#113
ylstack1 wants to merge 3 commits into
open-ma:mainfrom
ylstack1:cto/make-cloudflare-free-deployable

Conversation

@ylstack1
Copy link
Copy Markdown

No description provided.

cto-new Bot added 3 commits May 27, 2026 06:03
…ional-bindings

feat: make Cloudflare paid features optional for Free Tier deployment
… and Workers AI integration

- Integrated Cloudflare Workers AI as a provider in `resolveModel`.
- Implemented stateless session handling in `apps/agent/src/runtime/stateless.ts` for Edge runtimes without Durable Objects.
- Added conditional routing in `apps/agent/src/index.ts` to support both stateful (DO) and stateless modes.
- Enhanced `BoxRunSandbox` with Edge-compatible dynamic imports and added it to the sandbox factory.
- Updated all `resolveModel` call sites to propagate the `AI` binding.
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.

1 participant