Protokoll #5166

ID5166
Zeitstempel2025-12-22 18:00:31.032866
Clientroot
IP145.224.96.190
Modellclaude-sonnet-4-20250514
Statuscompleted
Tokens256 (Input: 204, Output: 52)
Dauer231 ms
Request-Zeit2025-12-22 18:00:31.032866
Response-Zeit2025-12-22 18:00:31.263674

Request

{
    "event": "PreToolUse",
    "tool_name": "Bash",
    "tool_input": {
        "command": ".\/venv\/bin\/python -c \"\nimport requests\nfrom db import db\n\ndb.connect()\ncursor = db.execute('SELECT content FROM chunks WHERE id = 8')\nchunk = cursor.fetchone()\ncursor.close()\ncontent = chunk['content']\n\nprint(f'Testing mxbai-embed-8k with {len(content)} chars...')\n\nresponse = requests.post(\n    'http:\/\/localhost:11434\/api\/embeddings',\n    json={'model': 'mxbai-embed-8k', 'prompt': content},\n    timeout=60\n)\n\nprint(f'Status: {response.status_code}')\nif response.status_code == 200:\n    data = response.json()\n    if 'embedding' in data:\n        print(f'SUCCESS: {len(data[\\\"embedding\\\"])} dimensions')\nelse:\n    print(f'Error: {response.text}')\n\ndb.disconnect()\n\"",
        "description": "Test new embedding model"
    }
}

Response

{
    "tool_response": {
        "stdout": "Testing mxbai-embed-8k with 1787 chars...\nStatus: 500\nError: {\"error\":\"the input length exceeds the context length\"}",
        "stderr": "",
        "interrupted": false,
        "isImage": false
    }
}
← Vorheriger Zur Liste Nächster →