400: 必須パラメーターreasoning_contentがありません
セッションからreasoningのないassistantステップが返されました。新しいセッションを開始してください(/new、または-cを付けずにopencode run)。Hermesでは、model.reasoning_echoがtrueになっていることを確認してください。
エージェント
エージェントとオプションを選ぶと、インストールコマンド、設定ファイル、エージェントが実際にBeamを使っているか確認する方法が表示されます。Reflectionのコーディングエージェント向けクイックスタートに基づいています。
curl -fsSL https://opencode.ai/install | bash
# or: npm install -g opencode-aiexport REFLECTION_API_KEY="<your API key>"
# Check the key: the list should include Beam-501B-A23B
curl https://api.reflection.ai/openai/v1/models -H "Authorization: Bearer $REFLECTION_API_KEY"{
"$schema": "https://opencode.ai/config.json",
"provider": {
"reflection": {
"npm": "@ai-sdk/openai-compatible",
"name": "Reflection",
"options": {
"baseURL": "https://api.reflection.ai/openai/v1",
"apiKey": "{env:REFLECTION_API_KEY}"
},
"models": {
"Beam-501B-A23B": {
"name": "Beam-501B-A23B",
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 262144,
"output": 131072
},
"reasoning": true,
"interleaved": {
"field": "reasoning_content"
},
"variants": {
"xhigh": {
"reasoningEffort": "xhigh"
},
"max": {
"reasoningEffort": "max"
}
}
}
}
}
},
"model": "reflection/Beam-501B-A23B",
"permission": {
"bash": "ask",
"edit": "ask"
}
}opencode models reflection
# prints: reflection/Beam-501B-A23Bcd your-project
opencode
# one-shot: opencode run --variant high "<prompt>" </dev/nullセッションからreasoningのないassistantステップが返されました。新しいセッションを開始してください(/new、または-cを付けずにopencode run)。Hermesでは、model.reasoning_echoがtrueになっていることを確認してください。
エージェントが起動時に表示するモデル名を確認してください。Mirrorでは /model reflection を実行し、PiとOpenCodeでは設定ファイルでデフォルトのプロバイダーとモデルを確認してください。
ベースURLは末尾が /openai/v1 で、その後に何も続かないようにしてください。モデルIDは正確に Beam-501B-A23B にしてください。
Beamは回答の前に推論するため、大きなタスクでは時間がかかることがあります。502または503エラーが繰り返し発生する場合は、タスクを再試行してください。