Andrew Phillips
|
9e133d9527
|
feat: add terminal width detection using termsize
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 22:22:00 -03:00 |
|
Andrew Phillips
|
689f377865
|
refactor: move terminal width calculation outside the loop
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 22:19:20 -03:00 |
|
Andrew Phillips
|
0a597d6263
|
feat: add debug logging for terminal width calculation
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 22:10:53 -03:00 |
|
Andrew Phillips
|
224b5e5976
|
feat: add support for percentage-based max_len values
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 22:05:36 -03:00 |
|
Andrew Phillips
|
4ea1f248a7
|
feat: add max_len support to ColumnConfig and default list format
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 22:01:29 -03:00 |
|
Andrew Phillips
|
2cfa06a45b
|
fix: add explicit type annotations for parse and remove unused imports
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:49:56 -03:00 |
|
Andrew Phillips
|
e97807f7fa
|
fix: use item service for proper item handling
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:47:06 -03:00 |
|
Andrew Phillips
|
9b525445f3
|
fix: remove unused variable prefixes and fix scope errors
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:34:35 -03:00 |
|
Andrew Phillips
|
43dac36c39
|
fix: remove unused variable prefixes in async_item_service
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:32:20 -03:00 |
|
Andrew Phillips
|
58b7cba55a
|
fix: resolve PIPESIZE redefinition and unused variable warnings
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:31:25 -03:00 |
|
Andrew Phillips
|
801445a07c
|
feat: add PIPESIZE constant and re-export in common module
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:30:28 -03:00 |
|
Andrew Phillips
|
781108f6d3
|
fix: re-export PIPESIZE from lib.rs
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:30:13 -03:00 |
|
Andrew Phillips
|
c52ab9ed5f
|
feat: update default max_buffer_size to use PIPESIZE
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:27:59 -03:00 |
|
Andrew Phillips
|
33b5cc2e92
|
feat: increase buffer size from PIPESIZE/2 to PIPESIZE
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:27:39 -03:00 |
|
Andrew Phillips
|
6719dff149
|
feat: replace hardcoded buffer sizes with PIPESIZE constant
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:27:02 -03:00 |
|
Andrew Phillips
|
bf48c37dd8
|
feat: add PIPESIZE constant for consistent buffer sizes
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:26:33 -03:00 |
|
Andrew Phillips
|
bb9901e9bc
|
fix: properly handle length parameter in stream_item_content_by_id_with_metadata
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:22:40 -03:00 |
|
Andrew Phillips
|
cf76aa8bc2
|
fix: mark unused variables with underscores
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:18:58 -03:00 |
|
Andrew Phillips
|
564accddfd
|
fix: remove unused variables and content_len
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:18:38 -03:00 |
|
Andrew Phillips
|
bbdbdfa5be
|
fix: unify stream types with trait object
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:17:06 -03:00 |
|
Andrew Phillips
|
bfeba4151e
|
fix: resolve type mismatches in async_item_service and compression_service
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:14:58 -03:00 |
|
Andrew Phillips
|
f3132ec569
|
fix: resolve type mismatch in async item stream handling
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:13:48 -03:00 |
|
Andrew Phillips
|
c00b6230d4
|
fix: remove unused imports and fix type mismatches
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:11:40 -03:00 |
|
Andrew Phillips
|
36a53c890c
|
fix: resolve async read and send trait bounds issues
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:10:14 -03:00 |
|
Andrew Phillips
|
9f140923bc
|
fix: resolve private field access and type issues
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:09:13 -03:00 |
|
Andrew Phillips
|
3611c93a4a
|
fix: update imports and correct stream type
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:07:48 -03:00 |
|
Andrew Phillips
|
1640932148
|
feat: implement streaming for large file handling
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 21:07:04 -03:00 |
|
Andrew Phillips
|
3478ffee2c
|
refactor: optimize item service to reduce redundant database queries
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 20:59:45 -03:00 |
|
Andrew Phillips
|
41ff152a12
|
fix: clone content for binary check closure
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 20:56:51 -03:00 |
|
Andrew Phillips
|
1fdb08b493
|
feat: optimize item content streaming to reduce redundant database calls
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 20:55:42 -03:00 |
|
Andrew Phillips
|
5830601150
|
refactor: add get_item_content_info to AsyncItemService and simplify binary checks
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 20:48:09 -03:00 |
|
Andrew Phillips
|
04554fe04d
|
refactor: extract content info logic to item_service
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 20:46:30 -03:00 |
|
Andrew Phillips
|
52f707d1dd
|
fix: add missing default_allow_binary function
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 20:44:15 -03:00 |
|
Andrew Phillips
|
0932ea9614
|
chore: remove unused imports and variables
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
|
2025-08-25 20:42:31 -03:00 |
|
Andrew Phillips
|
4abb9794e0
|
fix: add missing item_service argument to AsyncItemService::new
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 20:29:48 -03:00 |
|
Andrew Phillips
|
1f11351d9b
|
refactor: optimize item service creation by creating it once per connection
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 20:27:21 -03:00 |
|
Andrew Phillips
|
7eefb64d15
|
refactor: extract shared content streaming logic into helper function
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 20:23:18 -03:00 |
|
Andrew Phillips
|
ad1064ec02
|
feat: optimize item content retrieval to reduce redundant database queries
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 20:20:29 -03:00 |
|
Andrew Phillips
|
4acec3d3dd
|
refactor: optimize item content streaming to reduce redundant database queries
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 20:17:45 -03:00 |
|
Andrew Phillips
|
b9d6bd52d5
|
feat: implement streaming for item content with offset and length support
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 19:33:24 -03:00 |
|
Andrew Phillips
|
d03712874b
|
fix: log correct response body size in logging middleware
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 19:13:19 -03:00 |
|
Andrew Phillips
|
6ee1c64080
|
feat: implement length parameter handling in stream_item_content_by_id
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 19:11:03 -03:00 |
|
Andrew Phillips
|
694575ad36
|
fix: replace streaming with synchronous content retrieval
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 19:06:48 -03:00 |
|
Andrew Phillips
|
b039bc4b33
|
fix: remove unused imports and fix field access errors
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 19:05:33 -03:00 |
|
Andrew Phillips
|
4dc4d89f81
|
feat: add decompression support for streaming item content
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 19:04:11 -03:00 |
|
Andrew Phillips
|
cbb5af6ea5
|
fix: remove incorrect .dat extension from async item file path
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 18:57:18 -03:00 |
|
Andrew Phillips
|
7ef2ac670b
|
fix: resolve lifetime issues and remove unused imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 18:50:21 -03:00 |
|
Andrew Phillips
|
e364bd072a
|
refactor: move stream_item_content to AsyncItemService as method
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 18:49:28 -03:00 |
|
Andrew Phillips
|
f552c978e0
|
fix: update stream_item_content return type to tokio_util::bytes::Bytes
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 18:48:21 -03:00 |
|
Andrew Phillips
|
62844b2073
|
fix: update bytes import and fix data_path field references
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-25 18:47:54 -03:00 |
|