Clarification Needed: Which Sandbox URL to Use & Whether Token Is Required in sandbox_fusion_tool_config
Hi team,
I have a question regarding the correct configuration of Sandbox Fusion when the service is deployed on Volcengine FaaS (API Gateway). After deploying the Sandbox Fusion FaaS service from the official documentation, I now have: • A Sandbox service section with a public URL • A Frontend section with another public URL • A token provided in the service panel (for authentication)
However, the current verl documentation does not clearly state: 1. Which public URL should be used as sandbox_fusion_url? • Should I use the Sandbox section’s public gateway URL? • Or the Frontend section’s public gateway URL? 2. Does the token need to be included in the sandbox_fusion_tool_config? The example only shows: tools:
-
class_name: "verl.tools.sandbox_fusion_tools.SandboxFusionTool" config: sandbox_fusion_url: "https://xxx.apigateway-cn-beijing.volceapi.com/run_code" num_workers: 10 enable_global_rate_limit: true rate_limit: 10 default_timeout: 30 default_language: "python" memory_limit_mb: 1024 type: native
tool_schema: type: "function" function: name: "code_interpreter" description: "A tool for executing code." parameters: type: "object" properties: code: type: "string" description: "The code to execute." required: ["code"] 1.Which exact URL should be used for sandbox_fusion_url? • Sandbox public gateway URL • Or Frontend public gateway URL 2.Should the authentication token be added to the verl tool config? • If yes: • What is the correct field name? • How should it be appended or passed? (Authorization: Bearer
or query parameter?) 3.Is there an official example for configuring Sandbox Fusion with Volcengine API Gateway?