| コマンド | 機能説明 |
|---|---|
/commands | Shellコマンドを実行 |
/deploy | アプリケーションをデプロイ |
/model | サンドボックスで使用するLLMモデルを変更 |
/commands、/model、/deployなど)で始めてください。/commands npm install express/model glm-4.6/deploy 以前の会話ID(session_id){
"model": "302-sandbox-xxxxxxx",
"messages": [
{
"role": "user",
"content": "/commands 'ls -la'"
}
]
}curl --location --request POST 'https://api.302.ai/v1/messages' \
--header 'Authorization: Bearer ' \
--header 'session_id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "302-sandbox-xxxxxxx",
"messages": [
{
"role": "user",
"content": "/commands '\''ls -la'\''"
}
]
}'{}