Jump to content

depatl

Member
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

depatl's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. this version worked. What was the problem?
  2. [08:59:18.157] ChatGPT / DALL-E[Keyword] Processing complete [08:59:18.160] ChatGPT / DALL-E[Keyword] Passing output '' to Arg and Vars [08:59:18.161] ChatGPT / DALL-E[Arg and Vars] Processing complete [08:59:18.161] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Automation Task [08:59:18.161] ChatGPT / DALL-E[Automation Task] Running task 'Does Path Exist?' with arguments ( "/Users/dpatlazh/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.openai/chat.json" ) [08:59:18.253] ChatGPT / DALL-E[Automation Task] Processing complete [08:59:18.255] ChatGPT / DALL-E[Automation Task] Passing output 'true' to Conditional [08:59:18.255] ChatGPT / DALL-E[Conditional] Processing complete [08:59:18.256] ChatGPT / DALL-E[Conditional] Passing output 'true' to Arg and Vars [08:59:18.256] ChatGPT / DALL-E[Arg and Vars] Processing complete [08:59:18.256] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Text View [08:59:18.275] ChatGPT / DALL-E[Text View] Running with argument '' [08:59:18.425] ChatGPT / DALL-E[Text View] Script with argv '' finished [08:59:18.426] ChatGPT / DALL-E[Text View] {"response":"### write a python snippet to read json from file\n\n[Answer Interrupted]\n\n","behaviour":{"scroll":"end"}} [08:59:31.481] ChatGPT / DALL-E[Text View] Processing complete [08:59:31.483] ChatGPT / DALL-E[Text View] Passing output '' to Run Script [08:59:31.544] ERROR: ChatGPT / DALL-E[Run Script] /Users/dpatlazh/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/7EFC000B-37E3-418B-A17E-BA7BFF2398E9: execution error: Error: TypeError: undefined is not an object (evaluating 'readChat(chatFile).findLast(message => message["role"] === "assistant")["content"]') (-2700) [08:59:31.545] ChatGPT / DALL-E[Run Script] Processing complete [08:59:31.545] ChatGPT / DALL-E[Run Script] Passing output '' to Transform [08:59:31.545] ChatGPT / DALL-E[Transform] Processing complete [08:59:31.545] ChatGPT / DALL-E[Transform] Passing output '' to Copy to Clipboard [08:59:37.569] ChatGPT / DALL-E[Keyword] Processing complete [08:59:37.573] ChatGPT / DALL-E[Keyword] Passing output '' to Arg and Vars [08:59:37.574] ChatGPT / DALL-E[Arg and Vars] Processing complete [08:59:37.574] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Automation Task [08:59:37.574] ChatGPT / DALL-E[Automation Task] Running task 'Does Path Exist?' with arguments ( "/Users/dpatlazh/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.openai/chat.json" ) [08:59:37.587] ChatGPT / DALL-E[Automation Task] Processing complete [08:59:37.590] ChatGPT / DALL-E[Automation Task] Passing output 'true' to Conditional [08:59:37.590] ChatGPT / DALL-E[Conditional] Processing complete [08:59:37.590] ChatGPT / DALL-E[Conditional] Passing output 'true' to Arg and Vars [08:59:37.590] ChatGPT / DALL-E[Arg and Vars] Processing complete [08:59:37.590] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Text View [08:59:37.638] ChatGPT / DALL-E[Text View] Running with argument '' [08:59:37.707] ChatGPT / DALL-E[Text View] Script with argv '' finished [08:59:37.708] ChatGPT / DALL-E[Text View] {"response":"### write a python snippet to read json from file\n\n[Answer Interrupted]\n\n","behaviour":{"scroll":"end"}} [08:59:45.173] ChatGPT / DALL-E[Text View] Running with argument 'write a python snippet to read json from file' [08:59:45.325] ChatGPT / DALL-E[Text View] Script with argv 'write a python snippet to read json from file' finished [08:59:45.325] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true,"stream_marker":true},"response":"### write a python snippet to read json from file\n\n[Answer Interrupted]\n\n### write a python snippet to read json from file\n\n"} [08:59:45.432] ChatGPT / DALL-E[Text View] Running with argument 'write a python snippet to read json from file' [08:59:45.562] ChatGPT / DALL-E[Text View] Script with argv 'write a python snippet to read json from file' finished [08:59:45.563] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"…","behaviour":{"response":"append"}} [08:59:45.672] ChatGPT / DALL-E[Text View] Running with argument 'write a python snippet to read json from file' [08:59:45.813] ChatGPT / DALL-E[Text View] Script with argv 'write a python snippet to read json from file' finished [08:59:45.815] ChatGPT / DALL-E[Text View] {"response":"[We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)] \n(Mon, 01 Apr 2024 15:59:45 GMT)","behaviour":{"response":"replacelast"}} [09:46:45.180] ChatGPT / DALL-E[Keyword] Processing complete [09:46:45.191] ChatGPT / DALL-E[Keyword] Passing output '' to Arg and Vars [09:46:45.193] ChatGPT / DALL-E[Arg and Vars] Processing complete [09:46:45.193] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Automation Task [09:46:45.194] ChatGPT / DALL-E[Automation Task] Running task 'Does Path Exist?' with arguments ( "/Users/dpatlazh/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.openai/chat.json" ) [09:46:45.208] ChatGPT / DALL-E[Automation Task] Processing complete [09:46:45.209] ChatGPT / DALL-E[Automation Task] Passing output 'true' to Conditional [09:46:45.209] ChatGPT / DALL-E[Conditional] Processing complete [09:46:45.210] ChatGPT / DALL-E[Conditional] Passing output 'true' to Arg and Vars [09:46:45.210] ChatGPT / DALL-E[Arg and Vars] Processing complete [09:46:45.211] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Text View [09:46:45.223] ChatGPT / DALL-E[Text View] Running with argument '' [09:46:45.308] ChatGPT / DALL-E[Text View] Script with argv '' finished [09:46:45.316] ChatGPT / DALL-E[Text View] {"response":"### write a python snippet to read json from file\n\n[Answer Interrupted]\n\n### write a python snippet to read json from file\n\n[Answer Interrupted]\n\n","behaviour":{"scroll":"end"}} [09:46:54.937] ChatGPT / DALL-E[Text View] Running with argument 'write a python snippet to read json from file' [09:46:55.089] ChatGPT / DALL-E[Text View] Script with argv 'write a python snippet to read json from file' finished [09:46:55.097] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true,"stream_marker":true},"response":"### write a python snippet to read json from file\n\n[Answer Interrupted]\n\n### write a python snippet to read json from file\n\n[Answer Interrupted]\n\n### write a python snippet to read json from file\n\n"} [09:46:55.193] ChatGPT / DALL-E[Text View] Running with argument 'write a python snippet to read json from file' [09:46:55.310] ChatGPT / DALL-E[Text View] Script with argv 'write a python snippet to read json from file' finished [09:46:55.320] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"…","behaviour":{"response":"append"}} [09:46:55.417] ChatGPT / DALL-E[Text View] Running with argument 'write a python snippet to read json from file' [09:46:55.557] ChatGPT / DALL-E[Text View] Script with argv 'write a python snippet to read json from file' finished [09:46:55.565] ChatGPT / DALL-E[Text View] {"response":"[We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)] \n(Mon, 01 Apr 2024 16:46:55 GMT)","behaviour":{"response":"replacelast"}} [10:21:13.170] Logging Started...
  3. Hi. Thanks for the workflow! I am getting this error: We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com. Content of chat.json [{"role":"user","content":"write a python snippet to read json from file"},{"role":"user","content":"write a python snippet to read json from file"},{"role":"user","content":"write a python snippet to read json from file"},{"role":"user","content":"We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com."},{"role":"user","content":" "}] Alfred : 5.5 Extension : v2024.5 MacOS: 14.3 (23D56)
×
×
  • Create New...