docs: enhance README with social badges, feature highlights, and provider switching examples#64
Conversation
…ider switching examples - Add GitHub stars, PyPI downloads, and LinkedIn follow badges - Add 'The standard library for AI' section with key features - Update Quick Start and Multimodal examples - Add 'Switch providers in one line' comparison section - Reorganize sections for better flow
Pull Request Review: docs/readme-updatesSummaryThis PR enhances the README with social proof badges, feature highlights, and provider switching examples. Overall, the documentation improvements are valuable and the content is well-structured. However, there are several critical issues with code accuracy that need to be addressed before merging. 🚨 Critical Issues1. API Inconsistency in Quick Start Example (Line 44-54)Issue: The Quick Start example uses an incorrect API signature. Current code: Problem: According to the actual implementation in `src/celeste/init.py:60-65`, the `create_client` function signature is: The `capability` parameter expects a `Capability` enum, not a string. Additionally, when passing a model as a string ID, the `provider` parameter is required (see line 50 in init.py). Correct code: client = create_client( Or with string capability if the API supports it (verify this): Location: README.md:44-54 2. Missing Import in Multimodal Example (Line 58-92)Issue: The multimodal example references `Capability` without importing it. Current code (line 68): Problem: `Capability` is used but not imported. The imports only show: Fix: Add the missing import: Location: README.md:59-60 3. Inconsistent Code Examples in Provider Comparison (Line 132-199)Issue: The "Celeste Way" example shows inconsistent parameter usage compared to the Quick Start. Current code (line 189-192): Problem:
Fix: Location: README.md:189-192
|
Changes
Summary
This PR enhances the README to better showcase Celeste's value proposition: