alfredapp / openai-workflow

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

Blank output when cmd+enter (start a new chat) #31

Closed maxim closed 7 months ago

maxim commented 7 months ago

Frequently Asked Questions

Workflow version

v2024.7

Alfred version

5.5 [2257]

macOS version

Sonoma 14.4.1

Debugger output

[10:47:32.226] ChatGPT / DALL-E[Keyword] Processing complete
[10:47:32.233] ChatGPT / DALL-E[Keyword] Passing output 'tell me something short' to Arg and Vars
[10:47:32.234] ChatGPT / DALL-E[Arg and Vars] Processing complete
[10:47:32.235] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Run Script
[10:47:32.313] ChatGPT / DALL-E[Run Script] Processing complete
[10:47:32.322] ChatGPT / DALL-E[Run Script] Passing output '' to Call External Trigger
[10:47:32.323] ChatGPT / DALL-E[External] Processing complete
[10:47:32.324] ChatGPT / DALL-E[External] Passing output '' to Arg and Vars
[10:47:32.324] ChatGPT / DALL-E[Arg and Vars] Processing complete
[10:47:32.325] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Conditional
[10:47:32.325] ChatGPT / DALL-E[Conditional] Processing complete
[10:47:32.326] ChatGPT / DALL-E[Conditional] Passing output '' to Run Script
[10:47:32.436] ChatGPT / DALL-E[Run Script] Processing complete
[10:47:32.446] ChatGPT / DALL-E[Run Script] Passing output '' to Arg and Vars
[10:47:32.447] ChatGPT / DALL-E[Arg and Vars] Processing complete
[10:47:32.448] ChatGPT / DALL-E[Arg and Vars] Passing output '/Users/max/Library/Application Support/Alfred/Workflow Data/com.alfredapp.vitor.openai
/Users/max/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.openai' to Split Arg
[10:47:32.449] ChatGPT / DALL-E[Split Arg] Processing complete
[10:47:32.450] ChatGPT / DALL-E[Split Arg] Passing output '(
    "/Users/max/Library/Application Support/Alfred/Workflow Data/com.alfredapp.vitor.openai",
    "/Users/max/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.openai"
)' to Automation Task
[10:47:32.451] ChatGPT / DALL-E[Automation Task] Running task 'New Folder' with arguments (
    "/Users/max/Library/Application Support/Alfred/Workflow Data/com.alfredapp.vitor.openai",
    "/Users/max/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.openai"
)
[10:47:32.549] ChatGPT / DALL-E[Automation Task] Processing complete
[10:47:32.557] ChatGPT / DALL-E[Automation Task] Passing output '(
    "/Users/max/Library/Application Support/Alfred/Workflow Data/com.alfredapp.vitor.openai",
    "/Users/max/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.openai"
)' to Arg and Vars
[10:47:32.558] ChatGPT / DALL-E[Arg and Vars] Processing complete
[10:47:32.559] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Text View
[10:47:32.567] ChatGPT / DALL-E[Text View] Running with argument ''
[10:47:32.692] ChatGPT / DALL-E[Text View] Script with argv '' finished
[10:47:32.699] ChatGPT / DALL-E[Text View] {"response":"","behaviour":{"scroll":"end"}}

More details

Ever since 2024.6 or 2024.7 (not sure which one, I updated both before trying this) cmd+enter no longer works. Simply pressing Enter to continue an existing conversation does work.

Typed: gpt tell me something short (gpt is my custom trigger word) and pressed cmd+enter.

Expected output from ChatGPT, got:

Screenshot 2024-04-16 at 10 50 15
vitorgalvao commented 7 months ago

Thank you for the report.

Typed: gpt tell me something short (gpt is my custom trigger word) and pressed cmd+enter.

This was crucial information to understand the issue, as it was working from inside the Text View itself.

Fix is now live in 2024.8.