Toolverse
All skills

exa-rate-limits

by jeremylongshore

Implement Exa rate limiting, backoff, and idempotency patterns.\nUse when handling rate limit errors, implementing retry logic,\nor optimizing API request throughput for Exa.\nTrigger with phrases like \

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Mobile

About this skill

Implement Exa rate limiting, backoff, and idempotency patterns.\nUse when handling rate limit errors, implementing retry logic,\nor optimizing API request throughput for Exa.\nTrigger with phrases like \

How to use

  1. Zainstaluj SDK exa-js w swoim projekcie Node.js i upewnij się, że masz zmienną środowiskową EXA_API_KEY ustawioną na Twój klucz API Exa.

  2. Zaimportuj skill do swojego kodu i zdefiniuj funkcję withBackoff, która obsługuje exponentialny backoff z jitterem. Funkcja ta będzie automatycznie ponawiać żądania, które zwracają błąd 429 (limit przekroczony) lub błędy serwera 5xx, z opóźnieniami rosnącymi exponentialnie (domyślnie: 1000ms, 2000ms, 4000ms itd., maksymalnie 32 sekund).

  3. Opakuj każde wywołanie API Exa (search, find-similar, contents, answer) wewnątrz funkcji withBackoff, przekazując operację jako callback. Na przykład: withBackoff(() => exa.search(query)).

  4. Skonfiguruj parametry backoff w razie potrzeby: maxRetries (domyślnie 5), baseDelayMs (domyślnie 1000) i maxDelayMs (domyślnie 32000). Wyższe wartości maxRetries dają więcej czasu na odczekanie, zanim skill ostatecznie zwróci błąd.

  5. Obsługuj ostateczne błędy w bloku catch – jeśli wszystkie ponowienia się nie powiodą, skill wyrzuci wyjątek, który powinieneś obsłużyć w logice aplikacji.

  6. Dla wyższych limitów szybkości (powyżej 10 QPS) skontaktuj się z hello@exa.ai w celu uaktualnienia do planu Enterprise.

Related skills

godot

by bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI

Mobile
547680

unreal-engine-cpp-pro

by sickn33

Expert guide for Unreal Engine 5.x C++ development, covering UObject hygiene, performance patterns, and best practices.

Mobile
2582

interactive-portfolio

by davila7

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities. Use when: portfolio,

Mobile
1823

app-store-optimization

by davila7

Complete App Store Optimization (ASO) toolkit for researching, optimizing, and tracking mobile app performance on Apple App Store and Google Play Store

Mobile
1153

mobile-design

by sickn33

Mobile-first design and engineering doctrine for iOS and Android apps. Covers touch interaction, performance, platform conventions, offline behavior, and mobile-specific decision-making. Teaches principles and constraints, not fixed layouts. Use for React Native, Flutter, or

Mobile
6091

mobile-ios-design

by wshobson

Master iOS Human Interface Guidelines and SwiftUI patterns for building native iOS apps. Use when designing iOS interfaces, implementing SwiftUI views, or ensuring apps follow Apple's design principles.

Mobile
107284