Commit graph

5699 commits

Author SHA1 Message Date
Timothy Jaeryang Baek
06635898d0 refac 2026-03-25 17:29:57 -05:00
Timothy Jaeryang Baek
0fa246a1c3 refac 2026-03-25 17:09:36 -05:00
Classic298
bfc606a9e3
fix: align file context injection by user-role messages for native FC (#22776)
The add_file_context function used a positional zip() to pair API
payload messages with DB-stored messages. After
process_messages_with_output() expands assistant messages containing
tool calls into multiple OpenAI-format messages (assistant + tool
results), the payload list becomes longer than the stored list. This
caused the zip to misalign, so subsequent user messages never received
their attached_files tags -- the model could see uploaded images via
vision but had no file URL to pass to edit_image.

Fix: filter both lists to user-role messages only before zipping.
User messages maintain the same order in both lists regardless of
assistant message expansion, restoring correct file context injection.

Fixes #21878
2026-03-25 16:56:43 -05:00
Timothy Jaeryang Baek
350d52f515 chore: format 2026-03-25 16:43:06 -05:00
Jacob Leksan
05252e19b5
refactor: streamline logging and permission checks in auths.py (#22960) 2026-03-25 16:34:45 -05:00
Timothy Jaeryang Baek
857d7e6f37 refac 2026-03-25 02:49:34 -05:00
Timothy Jaeryang Baek
aa2f7fbe52 refac 2026-03-24 21:32:04 -05:00
Timothy Jaeryang Baek
cdc2b3bf85 refac 2026-03-24 21:00:43 -05:00
Timothy Jaeryang Baek
90ca2e9b0f refac 2026-03-24 20:48:10 -05:00
Timothy Jaeryang Baek
76ece4049e refac 2026-03-24 20:32:23 -05:00
Timothy Jaeryang Baek
8b6fa1f4ab refac 2026-03-24 20:14:28 -05:00
Timothy Jaeryang Baek
58dcc1b33f refac 2026-03-24 20:06:43 -05:00
Timothy Jaeryang Baek
cb83831041 chore: pin deps 2026-03-24 20:04:12 -05:00
Timothy Jaeryang Baek
d933991904 refac 2026-03-24 19:50:46 -05:00
Timothy Jaeryang Baek
0aebdd5f83 refac 2026-03-24 19:43:30 -05:00
Timothy Jaeryang Baek
968462609f refac 2026-03-24 18:05:19 -05:00
Timothy Jaeryang Baek
601bb78358 feat: oauth 2.1 static mcp
Co-Authored-By: Joost Mul <6438009+donmul@users.noreply.github.com>
2026-03-24 17:58:21 -05:00
Timothy Jaeryang Baek
631bd20c35 refac 2026-03-24 17:46:33 -05:00
Timothy Jaeryang Baek
c0fcbc5b4c refac 2026-03-24 17:31:09 -05:00
Timothy Jaeryang Baek
d738044f47 refac 2026-03-24 17:03:08 -05:00
Algorithm5838
e1cdd7e4fe
fix: use full_output() in reasoning content delta emit (#23001) 2026-03-24 17:00:12 -05:00
Timothy Jaeryang Baek
94145c99ae enh: GOOGLE_OAUTH_AUTHORIZE_PARAMS 2026-03-24 16:27:26 -05:00
Timothy Jaeryang Baek
7eae377c01 perf: lookup
Co-Authored-By: alifurkanstahl <180474740+alifurkanstahl@users.noreply.github.com>
2026-03-24 16:24:46 -05:00
Shamil
e4de5c5ad1
refac (#22987) 2026-03-24 15:41:26 -05:00
Tim Baek
c24a4da17d refac 2026-03-24 14:54:29 -05:00
Tim Baek
f949d17db1 refac 2026-03-24 14:37:03 -05:00
Timothy Jaeryang Baek
6d7744c219 refac 2026-03-24 06:21:37 -05:00
Timothy Jaeryang Baek
a9c5c787b9 refac 2026-03-24 06:12:07 -05:00
Timothy Jaeryang Baek
f7e07f3ca1 chore: format 2026-03-24 06:07:20 -05:00
Timothy Jaeryang Baek
69171a4c8b refac 2026-03-24 05:13:31 -05:00
Timothy Jaeryang Baek
bd8aa3b6a0 fix: new password validation 2026-03-24 05:00:54 -05:00
Timothy Jaeryang Baek
fe7e002fea refac 2026-03-24 04:58:48 -05:00
Timothy Jaeryang Baek
70285fb6ca refac 2026-03-24 04:53:23 -05:00
Timothy Jaeryang Baek
ade617efa8 refac 2026-03-24 04:49:48 -05:00
Algorithm5838
f0d48a4295
perf: use asyncio.to_thread for heartbeat DB write (#22980) 2026-03-24 04:48:06 -05:00
Timothy Jaeryang Baek
139e764b2f refac 2026-03-23 23:39:52 -05:00
Timothy Jaeryang Baek
6890618221 refac 2026-03-23 21:14:22 -05:00
Timothy Jaeryang Baek
a3238aa79f refac 2026-03-23 20:42:48 -05:00
Timothy Jaeryang Baek
108a019cb8 refac 2026-03-23 19:58:32 -05:00
Timothy Jaeryang Baek
1c25b06dca refac 2026-03-23 19:46:24 -05:00
Timothy Jaeryang Baek
0f0ba7dadd refac 2026-03-23 16:56:50 -05:00
Timothy Jaeryang Baek
5d7766e1b6 refac 2026-03-23 16:46:54 -05:00
Timothy Jaeryang Baek
6a9d67b5bb refac 2026-03-22 22:10:04 -05:00
Timothy Jaeryang Baek
945275faae refac 2026-03-22 06:58:58 -05:00
Timothy Jaeryang Baek
2e165926de refac 2026-03-22 06:40:39 -05:00
Timothy Jaeryang Baek
dfc2dc2c0b refac 2026-03-22 06:29:31 -05:00
Timothy Jaeryang Baek
6a004205d8 enh: inline html result context 2026-03-22 06:06:02 -05:00
Timothy Jaeryang Baek
ee9099cab9 refac 2026-03-22 06:00:41 -05:00
Timothy Jaeryang Baek
ee901fcd2c refac 2026-03-22 05:48:05 -05:00
Timothy Jaeryang Baek
93415a48e8 refac 2026-03-21 20:46:25 -05:00