When you use the ( 1 ) Text-Field it works.
When you use ( 2 ) Text-Field it shows the error message.
[{"code":"invalid_union","errors":[[{"expected":"string","code":"invalid_type","path":[],"message":"Invalid input: expected string, received array"}],[{"code":"invalid_union","errors":[[{"code":"invalid_value","values":["text"],"path":["type"],"message":"Invalid input: expected \"text\""},{"expected":"string","code":"invalid_type","path":["text"],"message":"Invalid input: expected string, received undefined"}],[{"code":"invalid_value","values":["image"],"path":["type"],"message":"Invalid input: expected \"image\""},{"expected":"object","code":"invalid_type","path":["source"],"message":"Invalid input: expected object, received undefined"}],[{"code":"invalid_value","values":["tool_use"],"path":["type"],"message":"Invalid input: expected \"tool_use\""},{"expected":"string","code":"invalid_type","path":["id"],"message":"Invalid input: expected string, received undefined"},{"expected":"string","code":"invalid_type","path":["name"],"message":"Invalid input: expected string, received undefined"},{"expected":"object","code":"invalid_type","path":["input"],"message":"Invalid input: expected object, received undefined"}],[{"code":"invalid_value","values":["tool_result"],"path":["type"],"message":"Invalid input: expected \"tool_result\""},{"expected":"string","code":"invalid_type","path":["tool_use_id"],"message":"Invalid input: expected string, received undefined"},{"code":"invalid_union","errors":[[{"expected":"string","code":"invalid_type","path":[],"message":"Invalid input: expected string, received undefined"}],[{"expected":"array","code":"invalid_type","path":[],"message":"Invalid input: expected array, received undefined"}]],"path":["content"],"message":"Invalid input"}]],"path":[0],"message":"Invalid input"}]],"path":["messages",1,"content"],"message":"Invalid input"}]
name: Local Config
version: 1.0.0
schema: v1
models:
- name: "CODE A (Fast): Claude Sonnet 4.6"
provider: anthropic
model: claude-sonnet-4-6-default
apiKey: sk-XXX
apiBase: https://api.langdock.com/anthropic/eu/v1
EDIT
I figured out when the error message appears:
When you use the ( 1 ) Text-Field it works.
When you use ( 2 ) Text-Field it shows the error message.
Original Error Report
Error Details
Model: CODE A (Fast): Claude Sonnet 4.6
Provider: anthropic
Status Code: 400
Error Output
This is my config:
Any Ideas?