raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.32k stars 3.01k forks source link

[Kagi FastGPT] All searches result in "Something went wrong" #10266

Closed andystevensname closed 9 months ago

andystevensname commented 9 months ago

Extension

https://www.raycast.com/http.james/kagi-fastgpt

Description

I cannot successfully query FastGPT with this extension, any query results in a "something went wrong." Additionally, I use Lulu. When that is turned on, I get a 502 Bad Gateway and I do not get as far as seeing the "something went wrong" screen. If that is unrelated, I'll figure that on my own, but thought I'd share just in case it's related.

Error:


TypeError: Cannot read properties of undefined (reading 'output')

ask.tsx:30:39

---
27:       } finally {
28:         setLoading(false)

### Steps To Reproduce

1. Install extension
2. Configure extension with Kagi API key
3. Perform query with Kagi FastGPT, does not seem to change based on what the query is.

### Current Behaviour

Right now, the extension installs correctly and accepts a query, but it is not able to execute that query. I do have an active account and can verify that the API key works with the other Kagi Search extension that's available on the Raycast store.

### Expected Behaviour

The extension should query Kagi FastGPT.
raycastbot commented 9 months ago

Thank you for opening this issue!

🔔 @httpjamesm you might want to have a look.

💡 Author and Contributors commands The author and contributors of `http.james/kagi-fastgpt` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopen the issue.
httpjamesm commented 9 months ago

Did you add Api credits to your account?

andystevensname commented 9 months ago

@httpjamesm Aha I did not! My apologies! I just added credits and it works like a charm. Thank you, I'll close this now.