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

Update kagi-search extension #18191

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Update kagi-search extension #18191

wants to merge 6 commits into from

Conversation

jg33
Copy link

@jg33 jg33 commented Mar 27, 2025

Description

Screencast

Checklist

- ray lint --fixed
- clean up lint warns
- manifest updates for publishing
- update node to fix build type errors
- forked edits
- Initial commit
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: kagi-search Issues related to the kagi-search extension labels Mar 27, 2025
@raycastbot
Copy link
Collaborator

raycastbot commented Mar 27, 2025

Thank you for your first contribution! 🎉

🔔 @fearoffish you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

You can expect an initial review within five business days.

@@ -5,12 +5,15 @@
"description": "Searches the Closed Beta of Kagi Search, using the autosuggestions url.",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe rename this, because it's not a Closed Beta anymore?

@jg33
Copy link
Author

jg33 commented Mar 27, 2025 via email

@jg33 jg33 marked this pull request as ready for review March 27, 2025 18:20
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR integrates FastGPT query support into the kagi-search extension, updates package configuration, and refines search result handling.

  • extensions/kagi-search/package.json: Added a new apiKey preference and refreshed dependencies.
  • extensions/kagi-search/src/index.tsx: Introduced conditional FastGPT view rendering and diversified action handling.
  • extensions/kagi-search/CHANGELOG.md: New entry uses an actual date instead of the required "{PR_MERGE_DATE}" template.
  • extensions/kagi-search/src/fastgpt-view.tsx: FastGPT fetch logic works as intended but lacks cleanup for its AbortController.
  • extensions/kagi-search/src/utils/kagiApi.ts: Noted inconsistent error handling between searchWithKagiAPI and searchWithFastGPT.

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

10 file(s) reviewed, 3 comment(s)
Edit PR Review Bot Settings | Greptile

jg33 and others added 4 commits March 27, 2025 11:32
fixed space in browser line

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
@jg33
Copy link
Author

jg33 commented Mar 28, 2025

updated- changes suggested by Greptile have been made. It won't let me run publish again due to "unrelated histories." But the latest (4eb95e7) should be good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension fix / improvement Label for PRs with extension's fix improvements extension: kagi-search Issues related to the kagi-search extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants