Execute CreateCompletion() ,then exit unexpectedly #193
-
When this piece of code is executed, it is accidentally exited, there is no error message, and the try catch is useless: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I don't think CreateCompletion works with ChatGpt3_5Turbo Model. Please try to use a different model or chat endpoint. |
Beta Was this translation helpful? Give feedback.
-
It's the async causing trouble,Don't let the main method close soon ,make it to do something just like : |
Beta Was this translation helpful? Give feedback.
It's the async causing trouble,Don't let the main method close soon ,make it to do something just like :
Console.ReadLine() OR Console.ReadKey()
OR Task.WaitAll(Task.Delay(1000));