Commit Graph

10 Commits

Author SHA1 Message Date
fbec05dfe9 Fix hanging test and establish comprehensive development environment
- Fix infinite retry loop in ai_responder.py that caused test_fix1 to hang
- Add missing picture_edit parameter to all AIResponse constructor calls
- Set up complete development toolchain with Black, isort, Bandit, and MyPy
- Create comprehensive Makefile for development workflows
- Add pre-commit hooks with formatting, linting, security, and type checking
- Update test mocking to provide contextual responses for different scenarios
- Configure all tools for 140 character line length and strict type checking
- Add DEVELOPMENT.md with setup instructions and workflow documentation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-08 19:07:14 +02:00
0c23da7c9e Changes. 2024-03-16 13:44:46 +01:00
c010603178 Fix and remove some tests, make openai calls cachable in a file. 2023-12-02 22:36:00 +01:00
2508a12b44 Fix history limit handling. 2023-04-13 18:36:06 +02:00
b1ece64874 Implement possibility to answer to a different channel 2023-04-12 17:56:31 +02:00
2db983c462 Improve history handling
- Try to keep at least 3 messages from each channel in the history
- Use post processed messages for the history, instead of the raw
  messages from the openai API
2023-04-12 12:19:07 +02:00
6d2a3d6ac5 Add a test for the fix functionality. 2023-03-24 18:11:06 +01:00
c85153c490 Switch to TOML for config file, fix bugs. 2023-03-22 21:37:33 +01:00
7ed9049892 Support welcome messages. 2023-03-22 18:49:09 +01:00
c0f1e7e405 Split AI and main tests, implement first AI test. 2023-03-22 18:05:45 +01:00