Objective
Build the provider abstraction layer that handles communication
with AI APIs. This is the foundation all other AI features depend on.
What needs to be built
- api/services/ai_provider.py
- Single get_completion(provider, api_key, prompt) function
- Support providers: anthropic, groq, gemini
- Validate provider name, raise clear error if unsupported
- Handle rate limits, invalid keys and network failures gracefully
- No API keys stored or logged anywhere
Acceptance criteria
Priority
High
Assignees
@TFT444
Objective
Build the provider abstraction layer that handles communication
with AI APIs. This is the foundation all other AI features depend on.
What needs to be built
Acceptance criteria
Priority
High
Assignees
@TFT444