| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- {
- "name": "chat-transient-status-still-retries",
- "description": "The same 404 from the same endpoint, through OpenAI's node. OpenAI's error documentation lists 400, 401 and 403 as the refusals - not 404 - so this one keeps its retries and reports attempts 3. The pair is the point: the status is identical and the correct behaviour differs, which is why the policy is per provider and not shared.",
- "credentials": [
- {
- "key": "fake",
- "name": "zz test: openai transient 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": "openai-chat",
- "position": {
- "x": 0,
- "y": 100
- },
- "config": {
- "credentialId": "{{credential:fake}}",
- "baseUrl": "{{API}}/api/v1",
- "model": "gpt-4o-mini",
- "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": 3
- }
- }
- }
- }
|