alfredapp / openai-workflow

OpenAI integrations
BSD 3-Clause "New" or "Revised" License
67 stars 33 forks source link

Completions from OpenRouter Won't Stream #37

Closed Sponge-bink closed 5 months ago

Sponge-bink commented 5 months ago

Frequently Asked Questions

Workflow version

2024.11

Alfred version

5.5

macOS version

14.5

Debugger output

[18:09:25.644] ChatGPT / DALL-E[Keyword] Processing complete
[18:09:25.661] ChatGPT / DALL-E[Keyword] Passing output '' to Arg and Vars
[18:09:25.664] ChatGPT / DALL-E[Arg and Vars] Processing complete
[18:09:25.666] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Run Script
[18:09:25.724] ChatGPT / DALL-E[Run Script] Processing complete
[18:09:25.736] ChatGPT / DALL-E[Run Script] Passing output '' to Arg and Vars
[18:09:25.739] ChatGPT / DALL-E[Arg and Vars] Processing complete
[18:09:25.742] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Call External Trigger
[18:09:25.744] ChatGPT / DALL-E[External] Processing complete
[18:09:25.747] ChatGPT / DALL-E[External] Passing output '' to Arg and Vars
[18:09:25.749] ChatGPT / DALL-E[Arg and Vars] Processing complete
[18:09:25.750] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Conditional
[18:09:25.751] ChatGPT / DALL-E[Conditional] Processing complete
[18:09:25.761] ChatGPT / DALL-E[Conditional] Passing output '' to Run Script
[18:09:25.863] ChatGPT / DALL-E[Run Script] Processing complete
[18:09:25.872] ChatGPT / DALL-E[Run Script] Passing output '' to Arg and Vars
[18:09:25.875] ChatGPT / DALL-E[Arg and Vars] Processing complete
[18:09:25.876] ChatGPT / DALL-E[Arg and Vars] Passing output '/Users/name/Library/Application Support/Alfred/Workflow Data/com.alfredapp.vitor.openai
/Users/name/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.openai' to Split Arg
[18:09:25.878] ChatGPT / DALL-E[Split Arg] Processing complete
[18:09:25.880] ChatGPT / DALL-E[Split Arg] Passing output '(
    "/Users/name/Library/Application Support/Alfred/Workflow Data/com.alfredapp.vitor.openai",
    "/Users/name/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.openai"
)' to Automation Task
[18:09:25.882] ChatGPT / DALL-E[Automation Task] Running task 'New Folder' with arguments (
    "/Users/name/Library/Application Support/Alfred/Workflow Data/com.alfredapp.vitor.openai",
    "/Users/name/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.openai"
)
[18:09:25.966] ChatGPT / DALL-E[Automation Task] Processing complete
[18:09:25.978] ChatGPT / DALL-E[Automation Task] Passing output '(
    "/Users/name/Library/Application Support/Alfred/Workflow Data/com.alfredapp.vitor.openai",
    "/Users/name/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.openai"
)' to Arg and Vars
[18:09:25.979] ChatGPT / DALL-E[Arg and Vars] Processing complete
[18:09:25.980] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Text View
[18:09:25.997] ChatGPT / DALL-E[Text View] Running with argument ''
[18:09:26.123] ChatGPT / DALL-E[Text View] Script with argv '' finished
[18:09:26.131] ChatGPT / DALL-E[Text View] {"response":"","behaviour":{"scroll":"end"}}
[18:09:29.653] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:29.798] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:29.807] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true,"stream_marker":true},"response":"### Hello\n\n"}
[18:09:29.905] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:30.039] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:30.048] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"…","behaviour":{"response":"append"}}
[18:09:30.145] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:30.287] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:30.298] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:09:30.391] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:30.462] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:30.472] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:09:30.566] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:30.691] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:30.701] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:09:30.796] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:30.933] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:30.942] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:09:31.036] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:31.112] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:31.122] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:09:31.216] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:31.344] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:31.353] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:09:31.447] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:31.588] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:31.598] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:31.691] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:31.828] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:31.837] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:31.933] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:32.070] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:32.080] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:32.174] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:32.311] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:32.321] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:32.416] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:32.490] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:32.500] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:32.592] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:32.712] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:32.722] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:32.816] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:32.956] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:32.966] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:33.062] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:33.201] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:33.210] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:33.307] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:33.446] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:33.455] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:33.549] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:33.625] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:33.634] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:33.729] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:33.787] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:33.796] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:33.893] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:34.011] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:34.020] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:34.116] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:34.252] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:34.262] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:34.357] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:34.433] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:34.443] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:34.539] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:34.600] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:34.610] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:34.705] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:34.760] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:34.769] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:34.866] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:34.924] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:34.934] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:35.030] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:35.087] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:35.097] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:35.192] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:35.247] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:35.256] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:35.349] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:35.403] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:35.412] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:35.507] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:35.561] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:35.570] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:35.666] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:35.715] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:35.725] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:35.819] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:35.933] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:35.942] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:36.038] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:36.176] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:36.185] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:36.281] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:36.423] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:36.432] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"Hello! How can I assist you today?","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:36.528] ChatGPT / DALL-E[Text View] Running with argument 'Hello'
[18:09:36.607] ChatGPT / DALL-E[Text View] Script with argv 'Hello' finished
[18:09:36.616] ChatGPT / DALL-E[Text View] {"response":"Hello! How can I assist you today? [Connection Stalled]","footer":"You can ask ChatGPT to continue the answer","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:48.641] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:48.734] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:48.742] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true,"stream_marker":true},"response":"### Hello\n\nHello! How can I assist you today?\n\n### reply the string 'hi' back to me\n\n"}
[18:09:48.840] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:48.953] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:48.963] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"…","behaviour":{"response":"append"}}
[18:09:49.057] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:49.192] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:49.202] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:09:49.296] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:49.432] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:49.442] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:09:49.537] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:49.676] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:49.686] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:09:49.777] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:49.913] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:49.923] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:09:50.016] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:50.154] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:50.164] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:09:50.260] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:50.399] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:50.410] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:09:50.501] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:50.637] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:50.648] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:50.742] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:50.880] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:50.891] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:50.983] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:51.120] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:51.130] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:51.225] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:51.362] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:51.373] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:51.466] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:51.603] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:51.614] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:51.707] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:51.846] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:51.856] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:51.951] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:52.089] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:52.099] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:52.193] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:52.329] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:52.339] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:52.432] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:52.573] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:52.583] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:52.677] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:52.817] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:52.828] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:52.923] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:53.061] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:53.071] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:53.166] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:53.304] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:53.314] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:53.408] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:53.546] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:53.557] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:53.649] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:53.789] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:53.800] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:53.893] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:54.030] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:54.042] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:54.133] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:54.270] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:54.281] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:54.374] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:54.516] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:54.526] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:54.619] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:54.754] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:54.764] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:54.859] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:54.999] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:55.010] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:55.104] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:55.243] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:55.253] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"hi","behaviour":{"response":"replacelast","scroll":"end"}}
[18:09:55.349] ChatGPT / DALL-E[Text View] Running with argument 'reply the string 'hi' back to me'
[18:09:55.490] ChatGPT / DALL-E[Text View] Script with argv 'reply the string 'hi' back to me' finished
[18:09:55.500] ChatGPT / DALL-E[Text View] {"response":"hi [Connection Stalled]","footer":"You can ask ChatGPT to continue the answer","behaviour":{"response":"replacelast","scroll":"end"}}
[18:10:10.262] ChatGPT / DALL-E[Text View] Running with argument 'reply the string hi back to me'
[18:10:10.410] ChatGPT / DALL-E[Text View] Script with argv 'reply the string hi back to me' finished
[18:10:10.420] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true,"stream_marker":true},"response":"### Hello\n\nHello! How can I assist you today?\n\n### reply the string 'hi' back to me\n\nhi\n\n### reply the string hi back to me\n\n"}
[18:10:10.517] ChatGPT / DALL-E[Text View] Running with argument 'reply the string hi back to me'
[18:10:10.655] ChatGPT / DALL-E[Text View] Script with argv 'reply the string hi back to me' finished
[18:10:10.665] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"…","behaviour":{"response":"append"}}
[18:10:10.759] ChatGPT / DALL-E[Text View] Running with argument 'reply the string hi back to me'
[18:10:10.895] ChatGPT / DALL-E[Text View] Script with argv 'reply the string hi back to me' finished
[18:10:10.906] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:10:10.999] ChatGPT / DALL-E[Text View] Running with argument 'reply the string hi back to me'
[18:10:11.136] ChatGPT / DALL-E[Text View] Script with argv 'reply the string hi back to me' finished
[18:10:11.147] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:10:11.241] ChatGPT / DALL-E[Text View] Running with argument 'reply the string hi back to me'
[18:10:11.380] ChatGPT / DALL-E[Text View] Script with argv 'reply the string hi back to me' finished
[18:10:11.390] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:10:11.482] ChatGPT / DALL-E[Text View] Running with argument 'reply the string hi back to me'
[18:10:11.623] ChatGPT / DALL-E[Text View] Script with argv 'reply the string hi back to me' finished
[18:10:11.633] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:10:11.726] ChatGPT / DALL-E[Text View] Running with argument 'reply the string hi back to me'
[18:10:11.861] ChatGPT / DALL-E[Text View] Script with argv 'reply the string hi back to me' finished
[18:10:11.872] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true}}
[18:10:11.966] ChatGPT / DALL-E[Text View] Running with argument 'reply the string hi back to me'
[18:10:12.108] ChatGPT / DALL-E[Text View] Script with argv 'reply the string hi back to me' finished
[18:10:12.118] ERROR: ChatGPT / DALL-E[Text View] Code 1: /Users/name/Documents/Dropbox - Maestral/Alfred Preferences/Alfred.alfredpreferences/workflows/user.workflow.17ED2632-C76A-4536-8A1A-84E4D3FF7A9D/chatgpt: execution error: Error: TypeError: undefined is not an object (evaluating 'chunks.slice(-1)[0]["choices"]') (-2700)

More details

Thank you for making this workflow compatible with models from outside OpenAI.

But sometimes this workflow won't stream the reply. I typed my prompt and hit return, it continues to show "…" below and only if I hit return again, the reply will show.

Screenshot 2024-06-09 at 6 10 41 PM Screenshot 2024-06-09 at 6 05 41 PM

Even if a reply is streamed, there's a [Connection Stalled] error following it.

I'm guessing the reason being the response from such model uses a different mark for finished streams. Or the stream started and ended too fast to be detected by the workflow. In another word, the reply is too short so the workflow does not know that the stream happened…

Sponge-bink commented 5 months ago

Sorry, I think I posted this in a wrong place.