File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
examples/code-interpreter Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1- # Cloudflare GPT-OSS with Python Sandbox
1+ # Code interpreter tool for gpt-oss on Workers AI
22
3- A Cloudflare Worker that integrates the GPT-OSS model with Python code execution capabilities using the Cloudflare Sandbox SDK.
3+ A sample Cloudflare Worker that integrates the gpt-oss model on Workers AI with Python code execution capabilities using the Cloudflare Sandbox SDK.
44
55## Features
66
7- - ✅ ** GPT-OSS Model Integration** : Uses Cloudflare's ` @cf/openai/gpt-oss-120b ` model via direct API calls
8- - ✅ ** Python Code Execution** : Executes Python code in a secure sandboxed environment
9- - ✅ ** Function Calling** : Implements function calling to bridge the model with code execution
10- - ✅ ** Type Safety** : Full TypeScript support with OpenAI SDK types
11- - ✅ ** Container-based Isolation** : Runs Python in Docker containers via Durable Objects
7+ - ✅ ** gpt-oss Model Integration** : Uses OpenAI's ` @cf/openai/gpt-oss-120b ` model running on Workers AI via direct API calls
8+ - ✅ ** Function Calling** : Implements function calling to provide a code execution environment to the model using the Sandbox SDK
9+ - ✅ ** Container-based Isolation** : Python code runs in docker container backed Durable Objects
1210
1311## How It Works
1412
You can’t perform that action at this time.
0 commit comments