Alishahryar1
b05d0d2703
new linter rules and fixes
2026-02-18 04:13:41 -08:00
Alishahryar1
539854fe7b
Refactor done using GLM-5
2026-02-15 21:58:03 -08:00
Alishahryar1
ab74791e4b
Improved logging coverage
2026-02-14 23:14:58 -08:00
Alishahryar1
0d292cd578
ci: enhance type checking in workflow and improve test coverage
...
- Added a step to fail the CI if any '# type: ignore' comments are found in Python files.
- Refactored tests to use mocking for better isolation and reliability.
- Updated type hints and casting in several files to improve type safety.
2026-02-14 23:01:11 -08:00
github-actions[bot]
9822e2d6a1
style: apply ruff format
2026-02-15 06:43:46 +00:00
Cursor Agent
575637bc94
fix: correct except clause syntax in request_utils (TypeError, ValueError)
...
Co-authored-by: Ali Khokhar <alishahryar2@gmail.com>
2026-02-15 05:07:17 +00:00
Alishahryar1
7259b1def8
Optimized code in hot paths with z-ai/glm5
2026-02-14 19:59:46 -08:00
Alishahryar1
96747f2216
Updated token counting and removed non streaming support
2026-02-14 19:10:09 -08:00
Alishahryar1
64e5b10612
Refactor done by z-ai/glm5
2026-02-14 18:47:26 -08:00
Cursor Agent
25c7123e33
Phase 7 & 8: Routes optimization refactor and request utils split
...
Phase 7 - Optimization handlers:
- Create api/optimization_handlers.py with try_prefix_detection,
try_quota_mock, try_title_skip, try_suggestion_skip, try_filepath_mock
- Add try_optimizations() that runs handlers in order
- Refactor routes.create_message to use try_optimizations()
- Update test_routes_optimizations patch targets
Phase 8 - Request utils split:
- Create api/detection.py: is_quota_check_request, is_title_generation_request,
is_prefix_detection_request, is_suggestion_mode_request,
is_filepath_extraction_request
- Create api/command_utils.py: extract_command_prefix, extract_filepaths_from_command
- Slim request_utils.py to get_token_count + re-exports for backward compat
Co-authored-by: Ali Khokhar <alishahryar2@gmail.com>
2026-02-15 01:41:35 +00:00
Alishahryar1
42bfb2da9b
improve test coverage
2026-02-13 12:54:48 -08:00
Alishahryar1
6102583026
Major Refactor Part 2 with kimi-k2.5 in claude code
2026-02-05 16:09:16 -08:00
Alishahryar1
fcbe204f44
Major refactor done with kimi-k2.5 in claude code
2026-02-05 10:51:33 -08:00
Alishahryar1
a971c45004
lint
2026-02-03 19:25:52 -08:00
Alishahryar1
81d41fb6d5
Added mocking for suggestion mode and file path extraction
2026-02-03 19:24:18 -08:00
Alishahryar1
8ce86f4267
fixed type errors
2026-01-31 14:13:09 -08:00
Alishahryar1
3b037932d7
refactor to reduce coupling
2026-01-30 13:39:40 -08:00