Files
HadTavern/presets/retry.json

105 lines
2.4 KiB
JSON

{
"id": "pipeline_editor",
"name": "Edited Pipeline",
"parallel_limit": 8,
"loop_mode": "iterative",
"loop_max_iters": 1000,
"loop_time_budget_ms": 999999999999,
"clear_var_store": true,
"http_timeout_sec": 999,
"text_extract_strategy": "auto",
"text_extract_json_path": "",
"text_join_sep": "\n",
"text_extract_presets": [
{
"id": "pmfqonx6fvcubc09k4ep",
"name": "candidates.0.content.parts.1.inlineData.data",
"strategy": "jsonpath",
"json_path": "candidates.0.content.parts.1.inlineData.data",
"join_sep": "\n"
},
{
"id": "pmfqrelw6wu9rutnzk1",
"name": "candidates.0.content.parts.1.inlineData",
"strategy": "jsonpath",
"json_path": "candidates.0.content.parts.1.inlineData",
"join_sep": "\n"
}
],
"nodes": [
{
"id": "n5",
"type": "SetVars",
"pos_x": -125,
"pos_y": 561,
"config": {
"variables": [
{
"id": "vmfi99ftc",
"name": "Clod",
"mode": "string",
"value": "igrovik"
},
{
"id": "vmfi99gjw",
"name": "MyOpenAiKey",
"mode": "string",
"value": "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"
},
{
"id": "vmfjkn09i",
"name": "NAMETest",
"mode": "expr",
"value": "128 + 64"
}
],
"_origId": "n5"
},
"in": {}
},
{
"id": "n2",
"type": "Return",
"pos_x": 507,
"pos_y": 459,
"config": {
"target_format": "auto",
"text_template": "[[OUT3]]",
"_origId": "n2"
},
"in": {
"depends": "n1.false"
}
},
{
"id": "n3",
"type": "RawForward",
"pos_x": 114,
"pos_y": 425,
"config": {
"passthrough_headers": true,
"extra_headers": "{\"connection\": \"close\"}",
"_origId": "n3"
},
"in": {
"depends": [
"n5.done",
"n1.true"
]
}
},
{
"id": "n1",
"type": "If",
"pos_x": 344,
"pos_y": 730,
"config": {
"expr": "([[OUT3]] contains \"Stream failed to\") || ([[OUT3]] contains \"gemini-2.5-pro\")",
"_origId": "n1"
},
"in": {
"depends": "n3.done"
}
}
]
}