Commit Graph
2 Commits
Author SHA1 Message Date
gurixandClaude d330e198ec Fix Anthropic SDK initialization error (upgrade to v0.71.0)
Fix 'Client.__init__() got an unexpected keyword argument proxies' error
that occurred when manually triggering AI analysis from the dashboard.

Issue:
- Anthropic SDK v0.8.0 had compatibility issues with httpx client
- Error occurred when instantiating anthropic.Anthropic(api_key=key)
- Prevented manual analysis trigger from working in production

Solution:
- Upgraded anthropic package from 0.8.0 to 0.71.0
- Updated requirements.txt with new version
- All tests still passing (49 passed, 1 skipped)

The newer SDK version resolves the internal httpx proxy parameter issue
and provides better compatibility with the current Python environment.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 21:33:47 +02:00
gurixandClaude b301def134 Implement MVP: Anonymous feedback submission (User Story 1)
Complete implementation of Phase 1-3 (64 tasks):
- Phase 1: Project setup with Flask, pytest, configuration
- Phase 2: Core infrastructure (auth, models, services, testing)
- Phase 3: Anonymous feedback submission with file uploads

Features:
- Anonymous feedback submission (text and/or up to 3 file attachments)
- Multi-language support (any language accepted)
- File validation (type, size) and virus scanning (ClamAV)
- Product management with active/archived status
- File-based storage with YAML metadata
- User authentication system (Flask-Login)
- CSRF protection and rate limiting
- Test coverage: 10 passing tests (contract + integration)

Security:
- No IP address logging (FR-055 compliance)
- File type whitelist and size limits (10MB max)
- Virus scanning with graceful degradation
- Filename sanitization and secure storage

Test Results:
- 8 contract tests passed
- 2 integration tests passed
- End-to-end workflow verified

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 15:14:51 +02:00