V1/development#6
Merged
Merged
Conversation
… and PostRequest pages
- Added cursor pointer styles to buttons in Globe, ListingCard, RequestCard, ReleaseNotificationProvider, BottomNav, NavigationRail, Account, AdminReleases, Appearance, Billing, MyProfileStats, Notifications, and SDG components for improved user experience. - Implemented interactive details modal in MyProfileStats for displaying user statistics with enhanced accessibility and animations. - Updated button styles to ensure consistent hover and active states across various components.
- Updated Makefile to include commands for testing, building, and running experiments using Docker. - Modified README to reflect changes in API endpoint port from 8000 to 8001. - Adjusted docker-compose.yml to expose the gateway on port 8001. - Enhanced Dockerfile to copy necessary scripts and test files into the container. - Added pytest and pytest-asyncio to requirements for testing. - Introduced new images for experiments in the scripts/data directory. - Implemented run_experiment.py for testing gateway endpoints with configurable layers. - Updated config.py to include new settings for Google AI Studio API. - Enhanced dependencies.py and main.py with logging and configuration management. - Improved vision.py to handle image processing and integrate with Google AI Studio. - Refactored service.py to orchestrate requests to the upstream model service with error handling. - Added utility functions in image.py for image encoding. - Expanded tests in test_gateway.py to cover new vision API functionality and error handling.
… link, and create rewards store page - Deleted `antigravity-sessions.md` and `codex-sessions.md` as they are no longer needed. - Updated `ImpactAnalyticsPage` to include a link to the new rewards store with a Gift icon. - Introduced a new `RewardsStorePage` component with a comprehensive rewards system, including user points tracking, daily check-in bonuses, and redemption functionality. - Added a new rewards category in the navigation rail for easy access to the rewards store. - Modified Next.js configuration to update allowed development origins and adjust API rewrites for better routing.
… and add logging for finish reason in service
… including service and router updates
… message type constraints
…ction API - Cleaned up ProfilePage component by removing unused imports and functions. - Removed MyProfileStats component from ProfilePage and adjusted related logic. - Introduced new API route for AI-based listing detection with validation and error handling. - Updated RequestCard to display preferred maximum distance. - Enhanced BottomNav and NavigationRail to include profile and chat notifications. - Added functionality for canceling listing claims and request fulfillments in the API client. - Updated data models and mappers to accommodate new request and listing structures. - Introduced new utility functions for AI listing detection and improved category handling. - Added support for chat images in the storage module.
…rence for listings and requests
…andling - Added new city coordinates for various locations in the Philippines to CITY_COORDS. - Introduced requesterId to GlobePin interface for better request tracking. - Updated Globe component to handle latitude and longitude for listings and requests. - Implemented logic to differentiate between listing owners and request owners. - Added a new API client method to fetch personalized matches. - Extended API types and mappers to support personalized matches functionality.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several key improvements to the AI gateway service, focusing on configuration, developer tooling, code organization, and new API features. The changes include enhanced configuration options, improved developer experience with new setup scripts and Makefile commands, a refactored and modularized FastAPI backend, and the addition of vision model support.
Backend and API Improvements:
chat.py,vision.py), and cleaning up the main application setup. The API endpoints now use dependency injection for configuration and API key verification. (ai_engine/gateway/src/main.py,ai_engine/gateway/src/routers/chat.py,ai_engine/gateway/src/dependencies.py, [1] [2] [3]ai_engine/gateway/src/models.py, [1] [2]Configuration and Environment:
config.py, including new fields for fallback and vision models, Google AI Studio integration, and improved environment variable handling. (ai_engine/gateway/src/config.py, [1] [2].codex/config.toml, .codex/config.tomlR16-R17)Developer Tooling and Setup:
setup.ps1) and Linux/macOS (setup.sh) to automate virtual environment creation and dependency installation. (ai_engine/gateway/scripts/setup.ps1, [1];ai_engine/gateway/scripts/setup.sh, [2]ai_engine/Makefile, ai_engine/MakefileR1-R29)pytest,pytest-asyncio). (ai_engine/gateway/requirements.txt, ai_engine/gateway/requirements.txtR5-R6)Containerization and Documentation:
ai_engine/docker-compose.yml, [1];ai_engine/README.md, [2]pyproject.toml,tests, andscriptsdirectories. (ai_engine/gateway/Dockerfile, ai_engine/gateway/DockerfileR8-R11)Configuration cleanup:
.codex/config.toml.These changes collectively improve the flexibility, maintainability, and developer experience of the AI gateway, while laying the groundwork for advanced features such as multimodal (vision) model support.