[2m2023-11-28T12:49:36.633916Z[0m [
[2m2023-11-28T12:49:36.633916Z[0m [32m INFO[0m [1mrequest[0m: [2mwindmill_api::tracing_init[0m[2m:[0m response [3mlatency[0m[2m=[0m406 [3mstatus[0m[2m=[0m200 [2m[3mmethod[0m[2m=[0mGET [3muri[0m[2m=[0m/api/w/motaword/embeddings/query_resource_types?text=given%20an%20array%20of%20projects%20and%20a%20single%20project%2C%20remove%20the%20single%20project%20from%20the%20projects%20array%20by%20project%20ID&limit=3 [3musername[0m[2m=[0m"oytun" [3memail[0m[2m=[0m"oytun@motaword.com" [3mworkspace_id[0m[2m=[0m"motaword"[0m
[2m2023-11-28T12:49:36.741089Z[0m [31mERROR[0m [1mrequest[0m: [2mwindmill_common::error[0m[2m:[0m [3merror[0m[2m=[0m"Sql error: no rows returned by a query that expected to return at least one row" [2m[3mmethod[0m[2m=[0mPOST [3muri[0m[2m=[0m/api/w/motaword/openai/proxy/chat/completions [3musername[0m[2m=[0m"oytun" [3memail[0m[2m=[0m"oytun@motaword.com" [3mworkspace_id[0m[2m=[0m"motaword"[0m
[2m2023-11-28T12:49:36.741133Z[0m [32m INFO[0m [1mrequest[0m: [2mwindmill_api::tracing_init[0m[2m:[0m response [3mlatency[0m[2m=[0m2 [3mstatus[0m[2m=[0m400 [2m[3mmethod[0m[2m=[0mPOST [3muri[0m[2m=[0m/api/w/motaword/openai/proxy/chat/completions [3musername[0m[2m=[0m"oytun" [3memail[0m[2m=[0m"oytun@motaword.com" [3mworkspace_id[0m[2m=[0m"motaword"[0m
6 Replies
sorry for the encoding š¦
no worries
@Hugo could you take a look, it's on the /proxy/chat/completions endpoint, we are doing a fetch_one when we should do a fetch_optional + clearer error message
ā¤ļø
is there something to do on my end to get rid of it for now? i wonder what i deleted for "no results" experience
so most likely this is failing:
can you check if you didn't move the resource that you set in your workpace settings ?
so check what resource is set in workspace settings, then check in your resources page if it's actually there at the same path
perfecto, will do now
YAY!
ā¤ļø @rubenf š
i had indeed renamed the openai resource
@Hugo we just need fetch_optional on second query and error optional with an error message that says the resource probably got moved and we expected it at path X