continue[bot]
14dd72eb21
Fix compaction and token counting issues from Cubic review
...
Address code review feedback:
1. Add fallback to use compacted history directly when ChatHistoryService
is unavailable (fixes P1 issue in handlePostToolValidation and
handleNormalAutoCompaction)
2. Prevent double-counting of system message tokens by checking if
system message is already in history before subtracting tokens
3. Remove tool output name from token count since it's not sent to model
This ensures compaction works correctly in headless contexts and provides
more accurate token estimation.
Co-authored-by: nate <nate@continue.dev>
2025-12-01 23:03:38 +00:00
continue[bot]
e86bb5a3db
Add blank line between parent and sibling imports
...
ESLint import/order rule requires a blank line between different
import groups (parent vs sibling).
Co-authored-by: nate <nate@continue.dev>
2025-12-01 22:42:38 +00:00
continue[bot]
ab9f37db38
Fix import order in streamChatResponse.systemMessage.test.ts
...
Reorder imports to comply with ESLint import/order rules:
- Move vitest imports after core imports
- Add empty line between import groups
- Move services import before local imports
Co-authored-by: nate <nate@continue.dev>
2025-12-01 22:37:21 +00:00
continue[bot]
7e6095d58f
Fix TypeScript errors in streamChatResponse tests
...
Add required systemMessage parameter to all processStreamingResponse calls
in the test file to match the updated interface signature.
Co-authored-by: nate <nate@continue.dev>
2025-12-01 22:34:19 +00:00
Nate
0d25d2e70d
Improve system message token accounting in compaction and context validation
2025-12-01 14:25:50 -08:00
Dallin Romney
10407bb9b8
fix: remove search from expected tools since rg install not gauranteed
2025-11-18 16:45:20 -08:00
Aditya Mitra
824e45c5b7
fix(cli): prevent auto compaction loop and prune messages until valid ( #8535 )
...
fix: prevent auto compaction loop and prune messages until valid
2025-11-17 10:59:45 -08:00
Patrick Erichsen
67033627b3
feat: impl Responses API in oai-adapters ( #8417 )
...
* feat: add GPT-5 Codex model support
- Add GPT-5 Codex to llm-info package with 500k context and 150k max tokens
- Add model definition to models.ts for UI configuration
- Include GPT-5 Codex in OpenAI provider packages list
- Model supports chat and edit roles with tool_use capability
* feat: impl Responses API in oai-adapters
* fix chat describer
* Update openai.ts
* fix llm-info
* address dallin's feedback
2025-10-29 13:17:32 -07:00
Aditya Mitra
ab214e3abc
refactor(cli): throw tool error instead of returning and matching error strings ( #8432 )
...
* fix: prevent string error matching throwing errors
- added ToolResultWithStatus
* add throwing of errors in search code tool
* throw errors in cli fetch tool
* throw errors in writeFile tool
* throw error in status tool
* throw errors in listFiles tool
* throw error in readfile tool
* fix no matches for pattern searchCode
* update tests
* use continueerror writeFile
---------
Co-authored-by: Nate <sestinj@gmail.com>
2025-10-27 16:43:05 -07:00
Dallin Romney
20886604d8
fix(cli): exclude ask first tools in headless ( #8416 )
...
* fix: permissions cleanup
:
* fix: remove unused test
2025-10-23 19:12:47 -07:00
Dallin Romney
9bec1f0a4a
fix: tests with new default model
2025-10-15 19:07:09 -07:00
Nate Sesti
278a2095fd
Fix tool call arguments initialization and validation to use empty object instead of null ( #8211 )
2025-10-13 11:32:18 -07:00
Dallin Romney
89e2573c49
fix: cubic feedback for workflow files
2025-10-04 14:45:49 -07:00
Dallin Romney
3e80f3d8c5
fix: remove mode service, fix all tests, workflow service integration
2025-10-03 17:26:18 -07:00
Nate Sesti
04d4087527
fix: show error when cn -p doesnt have tool access ( #8045 )
...
* fix: show error when cn -p doesnt have tool access
* fix: type error
* fix: type error
* fix: delete line
* fix: lint
2025-10-01 08:45:04 -07:00
Nate Sesti
89e1ff2d6b
fix: inline --rule improvements and fix msg queue behavior ( #7939 )
...
* fix: multi-line inline --rule values now work with cli
* fix: queue behavior
* fix: tests
* Update extensions/cli/src/ui/UserInput.tsx
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
* fix: rename method
* fix: explicit pattern for hub slugs
---------
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-09-23 23:39:59 -07:00
Dallin Romney
1821a72d16
fix: use json schema for tool definitions ( #7904 )
...
* fix: use json schema for tool definitions
* fix: cubic feedback
* fix: eslint
* fix: broken tool params type
2025-09-22 19:40:25 -07:00
Dallin Romney
21aaa0c93c
Merge branch 'main' of https://github.com/continuedev/continue into dallin/search-replace-fallbacks-v2
2025-09-20 01:15:50 -07:00
Ting-Wai
c5d202c56e
fix: cn auto compact if necessary before LLM api call ( #7865 )
2025-09-19 21:56:16 -07:00
Dallin Romney
7716712f21
fix: cubic feedback
2025-09-19 21:55:04 -07:00
Dallin Romney
4e1cea9891
fix: lint
2025-09-19 21:35:20 -07:00
Dallin Romney
c6858adb5b
fix: keep posthog and telemetry service separate
2025-09-19 21:34:04 -07:00
Dallin Romney
77288b0e41
feat: posthog telemetry for cli tool errors
2025-09-19 00:02:03 -07:00
Ting-Wai
61b525e36a
feat: add more robust context length validation ( #7817 )
2025-09-17 16:03:53 -07:00
Nate
4c56732609
feat: apireqeust event
2025-09-12 16:08:05 -07:00
Nate
9b0367fc28
fix: graceful exit instead of process.exit(1) in cli
2025-09-12 14:51:19 -07:00
Ting-Wai To
8775c3b470
Merge branch 'main' into tingwai/con-3770-compaction-ui
2025-09-11 09:57:14 -07:00
uinstinct
878464fcac
add tests
2025-09-11 19:36:30 +05:30
uinstinct
49655ef7d9
fix lint
2025-09-11 19:09:52 +05:30
Ting-Wai To
fc24deb115
feat: improve compaction UI, show compaction message as status message
...
Introduces ActionStatus component and refactor
normal loading message into ActionStatus
2025-09-10 21:38:36 -07:00
Ting-Wai To
4c7c295433
queued messages show up in chat
2025-09-09 16:25:56 -07:00
uinstinct
f7e91eccc1
feat(cli): message queing
2025-09-09 16:25:56 -07:00
Tomasz Stefaniak
56cd44396c
fix: formatting
2025-09-03 15:37:23 -07:00
Tomasz Stefaniak
5604b299b3
Merge branch 'main' into tomasz/con-3679
2025-09-03 15:35:37 -07:00
Nate
9be24f3e4a
chore: format
2025-09-01 14:54:37 -07:00
Nate
3968407d3a
feat: parallel tool calls permission queueing
2025-09-01 14:53:30 -07:00
Nate
e489bc68e2
feat: parallel tool calls
2025-09-01 14:35:39 -07:00
Nate
2b3b1f45e8
chore: format
2025-09-01 13:30:13 -07:00
Nate
3b10ce59f5
fix: npm run lint and tests
2025-09-01 13:29:43 -07:00
Nate
749f337ea4
follow up fixes
2025-09-01 13:05:18 -07:00
Nate
44a142492d
fixes to legacy array mutation
2025-09-01 12:54:05 -07:00
Nate
50ec6b9bfe
fix: tool call bug
2025-09-01 12:37:03 -07:00
Nate
e751a1b71d
refactor: phase 3
2025-09-01 12:15:00 -07:00
Nate
035706d51a
chore: format
2025-08-31 16:02:43 -07:00
Nate
276e39eb84
fix: don't handle streamed response if aborted
2025-08-31 14:14:41 -07:00
Nate
4d3b2f19ed
fix: linting and address feedback
2025-08-27 21:42:39 -07:00
Nate
626a3c66a0
fix: types, imports, and formatting
2025-08-27 21:32:23 -07:00