Dhanji R. Prasanna
fc702168ab
Add streaming completion integration test with mock LLM provider
...
Adds tests to verify that:
- All streaming chunks are processed before control returns to caller
- Both tool calls in a multi-tool-call stream are executed
- The finished signal properly terminates stream processing
Also adds Agent::new_for_test() to allow injecting mock providers.
2026-01-16 20:52:32 +05:30
Dhanji R. Prasanna
151b8c4658
Add Racket tree-sitter support, remove Kotlin
...
- Add tree-sitter-racket dependency (v0.24)
- Initialize Racket parser in code search
- Add .rkt, .rktl, .rktd file extensions
- Add test_racket_search test
- Remove Kotlin from supported languages (was disabled)
- Clean up duplicate test files
Supported languages: Rust, Python, JavaScript, TypeScript, Go, Java, C, C++, Racket
2026-01-13 18:44:59 +05:30
Dhanji R. Prasanna
1090e30d6c
Simplify system prompt: remove coding style and parallel tool call sections
...
- Remove IMPORTANT FOR CODING section (~1,500 chars of coding guidelines)
- Remove <use_parallel_tool_calls> block (~500 chars)
- Remove unused const_format dependency from g3-core
- Simplify get_system_prompt_for_native() to just return base prompt
- Response Guidelines now cleanly ends the static prompt
Prompt reduced from ~8,500 to ~6,500 characters.
2026-01-11 06:35:18 +08:00
Dhanji R. Prasanna
3601cc0547
Enhance read_image tool with magic byte detection and multi-image support
...
- Fix media type detection using magic bytes instead of file extension
- Correctly identifies JPEG files with .png extension (and vice versa)
- Supports PNG, JPEG, GIF, and WebP formats
- Add multi-image support with file_paths array parameter
- Load multiple images in a single tool call
- All images queued for LLM analysis
- Enhanced CLI output:
- Inline image preview via iTerm2 imgcat protocol (height=5)
- Dimmed info line showing: path | dimensions | media type | file size
- Proper │ prefix alignment with tool output boxing
- Human-readable file sizes (bytes, KB, MB)
- Add image dimension extraction from file headers
- PNG, JPEG, GIF, WebP dimension parsing
- Add comprehensive tests for magic byte detection and dimensions
2025-12-26 11:19:37 +11:00
Jochen
7f73b664a3
system prompt now includes code style guide
2025-11-18 18:21:16 +11:00
Dhanji R. Prasanna
8eda691cb1
todo persistence
2025-11-06 15:24:57 +11:00
Dhanji R. Prasanna
53c8245942
fixes for scheme+haskell
2025-11-05 14:33:12 +11:00
Dhanji R. Prasanna
4327c839a9
added scheme and kotlin to code_search
2025-11-05 14:17:15 +11:00
Dhanji R. Prasanna
fa38439a06
adding more languages to tree-sitter (java, go, cpp,..)
2025-11-05 14:07:50 +11:00
Dhanji R. Prasanna
f25a3d5e06
tree-sitter replaces ast-grep
2025-11-05 13:56:23 +11:00
Jochen
ad9ba5e5d8
added ast-grep use
...
g3 tool use of ast-grep command with batching for faster code exploration.
2025-11-01 14:59:55 +11:00
Dhanji Prasanna
9d35449be8
~ expansion for read_file and str_replace
2025-10-18 16:01:15 +11:00
Dhanji Prasanna
da652bf287
computer control tools
2025-10-18 14:16:50 +11:00
Dhanji Prasanna
e324ddd99d
hopefully a bit better tool call detection
2025-10-02 10:27:58 +10:00
Dhanji Prasanna
046b54c49b
move embedded provider to a better crate
2025-10-01 15:19:37 +10:00
Dhanji Prasanna
5f642061de
error handling in autonomous mode
2025-10-01 11:01:23 +10:00
Dhanji Prasanna
4e64555008
max tokens fix for databricks
2025-09-29 06:45:53 +10:00
Dhanji Prasanna
fa34755851
tool calling support for anthropic
2025-09-15 09:07:12 +10:00
Dhanji Prasanna
873d640595
CTRL-C and CTRL-D support!
2025-09-15 09:07:12 +10:00
Dhanji Prasanna
1834b8946c
embedded model support
2025-09-15 09:07:12 +10:00
Dhanji Prasanna
57626042a9
initial import
2025-09-15 09:07:09 +10:00