apac-ops-bot/backend/app
SamoilenkoVadym c15f35a1df Update pricing for gpt-5-nano and fix chat interface
- Update token pricing with actual gpt-5-nano-2025-08-07 prices:
  * Input: $0.05 per 1M = $0.00005 per 1K
  * Cached: $0.005 per 1M = $0.000005 per 1K
  * Output: $0.40 per 1M = $0.0004 per 1K
- Add cached_tokens support in OpenAI service
- Update cost calculation to use cached token pricing
- Add cached_tokens column to token_usage table (migration)
- Fix chat interface keyboard handling:
  * Send message on Enter key
  * New line on Shift+Enter
  * Change onKeyPress to onKeyDown for better support
- Add textarea auto-resize with maxHeight limit
- Improve responsive styles for mobile devices
- Add iOS-specific fixes (prevent zoom on input focus)
2026-01-27 20:18:42 +00:00
..
api Add test user authentication and RBAC admin panel 2026-01-27 20:05:54 +00:00
core Fix test user authentication issues 2026-01-27 20:09:07 +00:00
models Update pricing for gpt-5-nano and fix chat interface 2026-01-27 20:18:42 +00:00
repositories Update pricing for gpt-5-nano and fix chat interface 2026-01-27 20:18:42 +00:00
schemas Add test user authentication and RBAC admin panel 2026-01-27 20:05:54 +00:00
services Update pricing for gpt-5-nano and fix chat interface 2026-01-27 20:18:42 +00:00
utils Add comprehensive backend test suite and Phase 1 foundation 2026-01-27 14:24:59 +00:00
__init__.py Add comprehensive backend test suite and Phase 1 foundation 2026-01-27 14:24:59 +00:00
config.py Update pricing for gpt-5-nano and fix chat interface 2026-01-27 20:18:42 +00:00
database.py Add comprehensive backend test suite and Phase 1 foundation 2026-01-27 14:24:59 +00:00
main.py Implement MSAL authentication system with JWT sessions 2026-01-27 14:33:28 +00:00