You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor ask2api to use Config dataclass for API configuration
- Introduced a `Config` dataclass to manage API settings, including base URL, model, and temperature.
- Updated the main function to retrieve configuration from environment variables using the new dataclass.
- Replaced hardcoded values with dataclass attributes for improved maintainability and flexibility.
0 commit comments