Category | Parameter | Description |
For sandbox images | Container image | Select Public image. |
| Select images | Select the SWE-bench type and the target image. In this example, select the one with image ID dm2t11rzrt. |
| Startup command | The command to start the sandbox. In this example, it is curl -fsSL https://vefaas-swe.tos-cn-beijing.ivolces.com/swe-rex/install_1.4.0.sh | bash -s -- ixcprx. |
| Listening port | Set it to 8000. |
Gateway routing configuration | Domain type | Select Unified domain name. |
| APIG instance | Select the API Gateway instance created. The APIG instance and service (domain name). They are used to expose application interfaces externally. For detailed instructions, see Creating instances and Creating services. |
Environment variables | Environment variables | Configure environment variables for the sandbox. In this example, you need to add the following environment variables in addition to the default ones. Click Edit in JSON and add the following environment variables. |
Advanced settings | Instance specification | To ensure the smooth execution of evaluation tasks, we recommend selecting an instance specification of at least 2 vCPU and 4 GiB memory when creating a sandbox instance. |
| Execution timeout | We recommend setting it to 650 s to avoid timeouts when handling complex tasks. |
Environment variable name | Description |
VOLCE_ACCESS_KEY | Volcano Engine access key. |
VOLCE_SECRET_KEY | |
VEFAAS_FUNCTION_ID | Sandbox app ID. |
VEFAAS_FUNCTION_ROUTE | Sandbox app address. |