400: ไม่มีพารามิเตอร์ที่จำเป็น reasoning_content
เซสชันส่งขั้นตอน assistant กลับมาโดยไม่มีเหตุผลประกอบ ให้เริ่มเซสชันใหม่ (/new หรือรัน opencode run โดยไม่ใส่ -c) ใน 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เซสชันส่งขั้นตอน assistant กลับมาโดยไม่มีเหตุผลประกอบ ให้เริ่มเซสชันใหม่ (/new หรือรัน opencode run โดยไม่ใส่ -c) ใน Hermes ให้ตรวจสอบว่า model.reasoning_echo เป็น true
ตรวจสอบชื่อโมเดลที่เอเจนต์แสดงตอนเริ่มต้น ใน Mirror ให้เรียกใช้ /model reflection ส่วนใน Pi และ OpenCode ให้ตรวจสอบผู้ให้บริการเริ่มต้นและโมเดลในไฟล์ config
URL พื้นฐานต้องลงท้ายด้วย /openai/v1 โดยไม่มีอะไรต่อท้าย และ ID โมเดลต้องเป็น Beam-501B-A23B เท่านั้น
Beam ใช้เวลาคิดก่อนตอบ และงานขนาดใหญ่อาจใช้เวลาสักพัก หากพบข้อผิดพลาด 502 หรือ 503 ซ้ำ ให้ลองทำงานอีกครั้ง