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
feat(ai): improve AI provider integration and configuration handling
- Introduced 'systemPrompt' in 'OpenAIProvider' to enable configurable system messages - Refactored 'NewOpenAIProvider' to accept 'systemPrompt' for more contextual AI responses - Replaced 'Provider' interface definition in 'ai/provider.go' with a structured 'types.Provider' - Enhanced 'Config' to expose getter methods for AI configuration values - Added default values for AI settings, including a default system prompt - Created 'internal/types/common.go' to define AI provider interface and configuration abstraction
v.SetDefault("ai.system_prompt", "You are a helpful assistant that reviews code changes. You are given a git diff with the changes made to the code. You need to review the changes and provide a list of potential improvements.")
0 commit comments