Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat gives empty response #94

Open
endrureza opened this issue Aug 23, 2023 · 7 comments
Open

Chat gives empty response #94

endrureza opened this issue Aug 23, 2023 · 7 comments

Comments

@endrureza
Copy link

I'm trying to use chat, but somehow everytime i'm asking something it give empty response

Screenshot 2023-08-23 at 10 32 09 AM

Am i missing something here ?

@steve8708
Copy link
Contributor

I believe this is an issue with our parsing logic, I think chatgpt has been less reliable at outputting the formatting we need, so it streams a response but not in the format we are expecting. would love help looking into this

@ShinnosukeUesaka
Copy link

Same problem here. Setting older models ex) gpt-4-0314 won't help.

@distbit0
Copy link

distbit0 commented Nov 1, 2023

I am experiencing the same problem. whenever I run ai <some request> it returns no actual script and then the explanation is some generic explanation of what a script is (sometimes in the context of programming and sometimes in the context of film production lol).

image

@distbit0
Copy link

distbit0 commented Nov 1, 2023

It works when I set the model to gpt-4-0314 (the above was with 3.5)

@Bortus-AI
Copy link

latest gpt-4 fixes this

@irian-codes
Copy link

Switched to gpt4o-mini and it solved the issue for me

@felixniemeyer
Copy link

I'm using grok endpoint and sometimes it works, sometimes it does not:

Example, where it worked:


┌  AI Shell
│
◇  Your script:

ls 2024* | sort | while read file; do echo -e "\n\n\nDate: $file\n" >> journal-joined.txt; cat "$file" >> journal-joined.txt; done

•
│
◇  Explanation:

Script description: Combines multiple journal files into one.

Steps:
1. List files starting with "2024"
2. Sort the list
3. For each file:
   a. Append date header to journal-joined.txt
   b. Append file contents to journal-joined.txt

Example, where it did not work:


┌  AI Shell
│
◇  Your script:



•
│
◇  Explanation:

The script is a simple Python program that greets a user and performs basic arithmetic.

Steps:
1. Prompt user for their name
2. Print personalized greeting
3. Ask user for two numbers
4. Calculate and display sum of numbers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants