Alex
6dd55a4603
fix: api tool encoding bug
2026-07-22 09:44:53 +01:00
Alex
ce0402a003
fix: better tool persistance
2026-07-21 14:28:19 +01:00
Alex
96b423795a
Merge pull request #2605 from arc53/fix-durable-pauses
...
fix: more durable pause
2026-07-21 14:10:07 +02:00
Alex
ad6d9a83e0
fix: more durable pause
2026-07-21 13:00:15 +01:00
Alex
31af4d37ab
Merge pull request #2604 from arc53/finish-reason-handling
...
fix: handle wierd empty finish content as error
2026-07-21 13:32:41 +02:00
Alex
196e4e86d2
fix: handle wierd empty finish content as error
2026-07-21 12:03:44 +01:00
Alex
b1ded11432
Merge pull request #2603 from arc53/daytona-invalidated
...
fix: handle invalidated sandboxes in daytona gracefully
2026-07-21 11:08:37 +02:00
Alex
fd110e80d4
fix: handle invalidated sandboxes in daytona gracefully
2026-07-21 09:43:22 +01:00
Alex
c586d7f265
Merge pull request #2599 from arc53/fix-multitoolcallissue
...
Fix multitoolcallissue
2026-07-20 21:52:01 +02:00
Alex
e4265ce38a
fix: mini issues
2026-07-20 20:35:18 +01:00
Alex
64b3bd3356
feat: harden webtool
2026-07-20 19:57:44 +01:00
Alex
3cbd284948
fix: multitool call openai issue
2026-07-20 18:29:24 +01:00
Alex
0a9f18c58f
fix: add benchmark to ignore
2026-07-20 12:18:36 +01:00
Pavel
1fc43d5b9b
Merge pull request #2591 from ManishMadan2882/feat/scroller-migration
...
(feat)chats: shadcn msg scroller, fix jitter
2026-07-16 19:44:52 +03:00
ManishMadan2882
563ead105a
(feat)message scroller - no explicit space, workflow prev uses message scroller
2026-07-16 19:01:30 +05:30
Alex
3e34f45f96
Merge pull request #2594 from arc53/chunks-review
...
Chunks preview
2026-07-16 11:35:27 +02:00
Alex
c566a13527
Merge pull request #2595 from arc53/fix/token-usage-accounting
...
fix: accurate per-call token usage and oversized-context guards
2026-07-16 11:16:10 +02:00
Alex
d554eef97f
Update usage.py
2026-07-16 10:12:48 +01:00
Alex
2b8afb8c10
fix: cleanup comments
2026-07-16 09:45:18 +01:00
Alex
1e4e2ff24a
fix: better v1 compat and keepalive on long thinking
2026-07-16 09:45:04 +01:00
ManishMadan2882
3fea44c4ee
(chore)locales/fe: sync with en
2026-07-16 03:26:10 +05:30
Alex
ca5f80995d
fix: accurate per-call token usage and oversized-context guards
...
Token accounting:
- Drain each tool round's provider stream to exhaustion before running
tools and recursing, so the usage decorator persists exactly one
token_usage row per LLM call, at call end. Previously every round's
generator was abandoned mid-iteration and flushed together at request
teardown, writing N near-identical rows stamped with the final
round's provider counts (duplicate billing).
- Consume the Chat Completions include_usage terminal chunk (it arrives
after finish_reason and was never read) so streamed calls record
provider-exact token counts instead of tiktoken estimates.
- Claim provider-reported usage once per call (_last_usage_claimed) so
a late-finalized generator can never adopt another call's counts.
Oversized-context guards:
- Enforce Responses API function_call/function_call_output pairing in
the input builder (drop unpaired items; bypassed for store-mode
previous_response_id chaining where calls are matched server-side).
- Hard pre-send context gate: shrink oversized tool results and refuse
payloads that cannot fit the model's window before dispatch, so a
hopeless request is never sent or billed.
- Cap a single tool result entering the LLM context
(TOOL_RESULT_MAX_TOKENS, default 20000); the tool journal and
persistence keep the full result. Applied on the resume/continuation
path too.
- Skip the fallback attempt when the payload cannot fit the fallback
model's context window (10% estimation slack).
- Compression: never save a compression point that does not reduce
tokens; bound oversized verbatim fields kept after a compression
point (COMPRESSION_RECENT_FIELD_MAX_TOKENS, default 8000).
Robustness fixes from review:
- Google parallel function calls: complete index-less ToolCalls are no
longer merged into one another (dict arguments raised TypeError on
+=; second call could execute with the first call's arguments).
- Trailing-frame failures after a delivered answer no longer error the
stream or restream the whole answer from the fallback
(_stream_reached_finish).
- In-memory compression falls back to minimal pruning when the summary
is not smaller than the original.
- keep<=0 guard in the middle-truncation helpers (a tiny cap returned
marker + full text).
Frontend: tooltip on the Analytics tokens stat card explaining that
agent tool loops re-send conversation context on every step.
2026-07-15 21:20:39 +01:00
Alex
a7fd6d7c02
feat: update docs
2026-07-15 10:31:43 +01:00
Pavel
0447eb9b8d
Chunks preview
2026-07-13 23:22:17 +03:00
Alex
73c3dfb5c4
Merge pull request #2593 from arc53/endpoint-improvements
...
Endpoint improvements
2026-07-13 11:15:48 +02:00
Alex
bc68adf894
feat: CI speedup
2026-07-13 10:08:28 +01:00
Alex
a1d175ad36
fix: minor string / e
2026-07-13 09:50:11 +01:00
Alex
f33bdaa52d
fix: minor usage tracking improvements
2026-07-13 09:38:17 +01:00
Alex
0adf88abed
feat: improved compatability layer and responses api handing
2026-07-13 09:37:58 +01:00
ManishMadan2882
d78ddeadd0
(feat)chats: shadcn msg scroller, fix jitter
2026-07-12 20:27:36 +05:30
Alex
3e978759de
Merge pull request #2568 from arc53/artifacts-and-code-executors
...
Artifacts and sandboxed code execution: tools, workflows, and document I/O
2026-07-10 15:33:28 +02:00
Alex
a541bbd996
feat: minor workflow fix
2026-07-09 20:59:41 +01:00
Alex
e4c0c26927
fix: more sandbox protections to terminate plus max pages
2026-07-09 19:56:13 +01:00
Alex
9f19bc64b5
fix: minor parser and id hardening
2026-07-09 18:43:48 +01:00
dependabot[bot]
b5a14416d5
chore(deps-dev): bump lint-staged from 16.4.0 to 17.0.8 in /frontend ( #2544 )
...
Bumps [lint-staged](https://github.com/lint-staged/lint-staged ) from 16.4.0 to 17.0.8.
- [Release notes](https://github.com/lint-staged/lint-staged/releases )
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.4.0...v17.0.8 )
---
updated-dependencies:
- dependency-name: lint-staged
dependency-version: 17.0.7
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-09 19:28:25 +05:30
dependabot[bot]
8de7e9efc3
chore(deps): bump radix-ui from 1.4.3 to 1.6.2 in /frontend ( #2543 )
...
Bumps [radix-ui](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/radix-ui ) from 1.4.3 to 1.6.2.
- [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/radix-ui/CHANGELOG.md )
- [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/radix-ui )
---
updated-dependencies:
- dependency-name: radix-ui
dependency-version: 1.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-09 19:23:41 +05:30
dependabot[bot]
942133fa31
chore(deps): bump date-fns from 4.2.1 to 4.4.0 in /frontend ( #2542 )
...
Bumps [date-fns](https://github.com/date-fns/date-fns ) from 4.2.1 to 4.4.0.
- [Release notes](https://github.com/date-fns/date-fns/releases )
- [Commits](https://github.com/date-fns/date-fns/compare/v4.2.1...v4.4.0 )
---
updated-dependencies:
- dependency-name: date-fns
dependency-version: 4.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-09 19:19:11 +05:30
dependabot[bot]
5abc87977a
chore(deps-dev): bump @tailwindcss/postcss in /frontend ( #2541 )
...
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss ) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.2/packages/@tailwindcss-postcss )
---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
dependency-version: 4.3.1
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-09 19:12:39 +05:30
dependabot[bot]
ed62e0250e
chore(deps-dev): bump vitest from 3.2.4 to 4.1.9 in /frontend ( #2540 )
...
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 3.2.4 to 4.1.9.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md )
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.9/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-version: 4.1.9
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-09 18:40:00 +05:30
Alex
223a7588aa
feat: small qol in fe
2026-07-09 13:03:57 +01:00
Alex
6dd5cf472a
feat: improve workflow agent tool interation
2026-07-09 10:22:44 +01:00
Alex
51dc49f0d8
feat: qol agent easier schema and better logs
2026-07-09 00:11:27 +01:00
Alex
7f57e06531
feat: multi select chip bug
2026-07-08 23:00:44 +01:00
Alex
c3de3e47de
Merge remote-tracking branch 'origin/main' into artifacts-and-code-executors
...
# Conflicts:
# frontend/src/agents/workflow/WorkflowBuilder.tsx
2026-07-08 21:54:09 +01:00
Alex
89eb3f68fc
fix: remove mcp artefacts, handle non fatal issues on workflow
...
gracefully
2026-07-08 21:05:40 +01:00
Alex
12dfefdd05
fix: clean up and better artefact consistency
2026-07-08 20:06:31 +01:00
Alex
66786c2760
fix: remove code exec as default and sec improvements
2026-07-08 18:50:10 +01:00
Alex
e80cc2a282
Merge branch 'main' of https://github.com/arc53/DocsGPT
2026-07-08 00:29:28 +01:00
Alex
748975ae95
fix: clean up comments
2026-07-08 00:25:35 +01:00
Alex
83c560f626
feat: mini replay improvements
2026-07-08 00:23:32 +01:00