Alex Gleason
34bfbb971b
Revert "Enable AI to see images when using the read tool"
...
This reverts commit 2641252c6a .
2026-03-28 22:21:17 -05:00
Alex Gleason
2641252c6a
Enable AI to see images when using the read tool
...
Return JPG/PNG images as structured image content parts from ReadTool
instead of embedding base64 data URLs as plain text. Since OpenAI tool
messages only support text content, images are injected as a follow-up
user message with image_url parts that vision models can interpret.
2026-03-28 18:27:41 -05:00
Chad Curtis
10ff3e9196
Evict images from context after the model has seen them
...
Strip image_url parts from all user messages except the most recent one
before sending to the API. The model has already responded to earlier
images, so re-sending them on every turn wastes tokens. The VFS text
path is preserved so the model can still read the file if needed.
This is a send-time transformation only — session.messages stays
intact for the UI.
2026-02-13 01:51:22 -06:00
Alex Gleason
87956df961
Add webfetch and websearch tools
2026-01-21 23:25:29 -06:00
Alex Gleason
6ba5cf9bb2
Enable TypeScript strict mode
2026-01-21 14:46:11 -06:00
Alex Gleason
a047f913b4
Truncate large tool calls and save the output to tmpDir
2026-01-15 12:45:01 -06:00
Alex Gleason
a1959369c5
Don't emit unnecessary streamingUpdate events
2026-01-04 00:46:45 -06:00
Alex Gleason
6c4c1dab3b
Fix tool_calls index logic
2026-01-04 00:35:10 -06:00
Alex Gleason
24e70712d8
Revert "Capture session data with Sentry TypeError in SessionManager"
...
This reverts commit 6a11b5ea05 .
2026-01-02 14:59:07 -06:00
Alex Gleason
6a11b5ea05
Capture session data with Sentry TypeError in SessionManager
2026-01-02 14:40:41 -06:00
Alex Gleason
85ac92db96
Log unexpected TypeErrors to Sentry for investigation
2026-01-02 14:02:55 -06:00
Alex Gleason
88def1264d
Fix "mode" parameter in system prompt
2025-12-30 12:19:10 -06:00
Alex Gleason
41f4a53b1f
Display "Resume" button when there's no finish button / only throw EmptyMessageError when finish_reason is not "stop"
2025-12-28 17:02:03 -06:00
Alex Gleason
44dfd25a84
Save last finish_reason, display a "Resume" button
2025-12-28 16:49:51 -06:00
Alex Gleason
d2fd29ed86
Remove unnecessary dynamic imports
2025-12-24 19:13:30 -06:00
Alex Gleason
d1cdcb0fd9
Fix attachment rendering
2025-12-21 03:41:25 -06:00
Alex Gleason
88c6b80484
Make "Added File:" match stricter
2025-12-20 20:43:53 -06:00
Alex Gleason
62b1a19f2d
Expose imageModel to system prompt
2025-12-09 00:33:54 -06:00
Alex Gleason
73ccd7cb73
Accumulate tool cost to project total
2025-12-08 15:32:14 -06:00
Alex Gleason
f7b2d754e9
Tool result refactor (return an object instead of a string)
2025-12-08 15:13:34 -06:00
Alex Gleason
f42ca5897a
Expose model and provider to system prompt
2025-12-08 13:44:01 -06:00
Alex Gleason
4bc223e5af
Revert "Merge branch 'text-chats' into 'main'"
...
This reverts commit 7badd0113f , reversing
changes made to 02dcd5cbe8 .
2025-12-03 12:01:53 -06:00
Alex Gleason
2c42efd4e1
Skip somethings for chats idk
2025-12-03 01:27:37 -06:00
Alex Gleason
d3187d8c77
Improve chats icon
2025-12-03 01:11:39 -06:00
Alex Gleason
fe0becb2c8
Expose templates to the system prompt
2025-12-01 14:59:24 -06:00
Alex Gleason
7fb9d765be
Improve image retry logic
2025-11-23 11:54:26 -06:00
lemonknowsall
766aea14b9
add VFS only retry for models that don't accept images
2025-11-16 11:32:04 -08:00
lemonknowsall
653a7c0f0c
add images to both VFS and API, update ChatPane UI
2025-11-15 20:43:35 -08:00
lemonknowsall
42637458c9
pass image to agent, render image in chat
2025-11-15 20:43:35 -08:00
Alex Gleason
eabba1ecec
Expose full config and defaultConfig to systemPrompt template
2025-11-13 18:12:45 -06:00
Alex Gleason
db02b9fb94
Let system prompt be configurable in System Settings (EJS template)
2025-11-13 17:36:04 -06:00
Alex Gleason
866155d907
Add "Edit with Shakespeare" info to system prompt
2025-11-13 15:39:18 -06:00
Alex Gleason
16d357364d
Add abort reasons to abort controllers
2025-11-12 14:24:41 -06:00
Alex Gleason
3d06e0cb57
Accumulate and persist total project cost and display in Project Details dialog
2025-11-12 12:09:42 -06:00
Alex Gleason
35a85c18bd
Add CORS proxy to system prompt
2025-11-11 18:03:21 -06:00
Alex Gleason
c24f72b34c
Implement plugins system / skills
2025-11-05 23:44:14 -06:00
Alex Gleason
ef6962d7c7
Progressively rebuild when files change
2025-11-04 17:22:12 -06:00
Alex Gleason
d75bd386aa
Make FS paths configurable
2025-10-23 14:50:05 -05:00
Alex Gleason
1bb949217a
Support proxying AI provider traffic
2025-10-08 16:22:07 -05:00
Alex Gleason
496ab8722a
Throw an error if the AI service return an empty assistant message
2025-10-07 21:13:04 -05:00
sam
8b5cf72356
define and surface an error for malformed tool responses
2025-10-03 16:18:32 +07:00
Alex Gleason
795eaa50c2
Make Quilly's "fix error" add assistant messages
2025-09-29 17:19:02 -05:00
Alex Gleason
57a80ad33d
Fix Gemini model tool_calls
2025-09-26 14:38:38 -05:00
Alex Gleason
a05ad13e67
Don't send tool_choice param
2025-09-26 14:14:10 -05:00
Alex Gleason
e9f8e99ac5
Surface AI Errors to ChatPane
2025-09-24 20:00:02 -05:00
Alex Gleason
0bdc9fa6a3
Don't display an error in the chat when the user cancels their own generation
2025-09-24 15:34:15 -05:00
Alex Gleason
2e38591943
Prevent duplicate sessions when starting a new project
2025-09-24 15:10:09 -05:00
Alex Gleason
e93a60be2c
Fix tool calls with empty arguments
2025-09-24 00:47:36 -05:00
Alex Gleason
289caff882
Generate system prompt dynamically in SessionManager
2025-09-23 23:29:02 -05:00
Alex Gleason
d0a520ce17
Get accurate OpenRouter pricing
2025-09-23 18:28:51 -05:00