nextcloud / assistant

✨ Nextcloud Assistant
GNU Affero General Public License v3.0
23 stars 4 forks source link

Can't get assistant to work with openai "Assistant error" #79

Open jon-bit opened 3 months ago

jon-bit commented 3 months ago

Which version of assistant are you using?

1.0.8

Which version of Nextcloud are you using?

28.0.4.1

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Brave

Describe the Bug

When I have the asstent to get requests from open ai I get:

"Text generation error: Failed to run or schedule a task"

on most things (but not all). When I to STT I get

"Failed to schedule transcription:

failure
500
Internal Server Error"

and if I use the quick app in next cloud instead of the builtin tools in files I get

Assistant error

Expected Behavior

it does Textgen or STT

To Reproduce

install openai integration app and set to the API to anything (blank, "https://api.openai.com", "https://api.openai.com/v1/" is what I tried) and try any AI things. It won't work(at least for me).

jon-bit commented 3 months ago

I got image to text working (by setting the URL to "https://api.openai.com/") but when I do STT The error log says this OCA\\Assistant\\Controller\\SpeechToTextApiController::transcribeAudio(): Argument #1 ($appId) must be of type string, null given, called in /var/www/html/lib/private/AppFramework/Http/Dispatcher.php on line 230","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php in the message

tomchiverton commented 2 months ago

Where did you find this log message ?