Files
freewriting-prompts/api
AlexKucera f9fefceac1 Adds pagination support for Anthropic models API
Enhances models fetching to handle paginated API responses

Implements robust pagination mechanism to retrieve all available models
- Continues fetching pages while 'has_more' is true
- Accumulates models across multiple API calls
- Preserves first and last page identifiers
- Ensures complete model list retrieval

Improves error handling and response validation
2025-10-24 13:12:32 +02:00
..