| 12345678910111213141516171819202122232425262728 |
- {
- "name": "chat-permanent-status-stops-retrying",
- "description": "Groq documents 404 as permanent, so the node must stop at the first refusal instead of spending its retries. Pointed at this API's own /chat/completions, which does not exist and answers 404. With retryCount 2 a retrying node reports attempts 3; stopping reports 1.",
- "credentials": [
- {"key": "fake", "name": "zz test: groq permanent status", "type": "api_key",
- "data": {"keyValue": "not-a-real-key", "headerName": "Authorization", "valuePrefix": "Bearer "}}
- ],
- "nodes": [
- {"id": "n1", "name": "Trigger", "type": "click-trigger", "position": {"x": 0, "y": 0}, "config": {}},
- {"id": "n2", "name": "Refused", "type": "groq-chat", "position": {"x": 0, "y": 100},
- "config": {
- "credentialId": "{{credential:fake}}",
- "baseUrl": "{{API}}/api/v1",
- "model": "llama-3.3-70b-versatile",
- "userPrompt": "hello",
- "retryCount": 2,
- "retryDelayMs": 100,
- "skipOnError": true,
- "timeoutMs": 15000
- }}
- ],
- "connections": [
- {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "n2", "targetInput": "data"}
- ],
- "expect": {
- "n2": {"status": "completed", "output": {"success": false, "attempts": 1}}
- }
- }
|