Skip to content

Conversation

@GhadiSaab
Copy link

This PR addresses two issues in the ClawdHub skills page:

  1. Search Timeout Fix: Added a 10-second timeout using AbortController to the OpenAI embedding API call in convex/lib/embeddings.ts. This prevents the loading skills state from hanging indefinitely if the API is slow or unresponsive.
  2. UI Alignment Fix: Restructured the layout and updated CSS in src/routes/skills/index.tsx and src/styles.css to ensure the skill cards are visually aligned with the search toolbar in a centered container.
  3. TypeScript Fix: Resolved a type predicate error in convex/search.ts to ensure successful compilation.

Closes #50 #52

- Added a 10s timeout to OpenAI embedding requests to prevent hanging searches.
- Fixed a TypeScript error in search.ts regarding entry hydration.
- Restructured skills page layout and CSS to ensure consistent alignment between the search toolbar and skill cards.
@vercel
Copy link
Contributor

vercel bot commented Jan 27, 2026

@GhadiSaab is attempting to deploy a commit to the Amantus Machina Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant