Commit graph

812 commits

Author SHA1 Message Date
Nate
e99d472339 fix: don't filter when empty type on tool 2025-08-21 08:36:01 -07:00
Nate Sesti
791529d39e
Update packages/openai-adapters/src/util/gemini-types.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-21 07:57:12 -07:00
Nate
eaa9a61ed2 fix: oai Headers 2025-08-20 22:47:04 -07:00
Nate
5e35518f92 fix type errors 2025-08-20 22:24:40 -07:00
Nate
dde2489c73 chore: format 2025-08-20 21:12:31 -07:00
Nate
ccb01f6643 fix tests 2025-08-20 21:09:39 -07:00
Nate
8164429214 fix: type errors 2025-08-20 20:02:24 -07:00
Nate
7d7500e7ad fix: bump oai adapters 2025-08-20 20:01:24 -07:00
Tomasz Stefaniak
4b51607595
Merge pull request #7245 from continuedev/dallin/anthropic-caching-fix
fix: HOTFIX anthropic optimized caching strategy
2025-08-19 15:12:03 -07:00
Dallin Romney
f1afd14202 fix: anthropic optimized caching strategy 2025-08-19 14:56:06 -07:00
Tomasz Stefaniak
8ead72e314 fix: openai adapters 2025-08-19 13:34:25 -07:00
Jacob Kim
f5a69ea945 Merge branch 'main' of github.com:continuedev/continue into jacob/con-3563 2025-08-18 21:55:51 -07:00
Jacob Kim
60d0056a12 feat: add a non-stream method 2025-08-18 21:55:33 -07:00
Jacob Kim
e45171f786 feat: add overrides to handle /edit/completions requests 2025-08-18 18:51:46 -07:00
Dallin Romney
73fdf19de8
feat: rebrand assistants as agents (#7227)
* feat: rebrand assistants as agents

* fix: assitant-agent cleanup part 1

* fix: file references

* fix: missing file reference in config yaml tests

* chore: assistant -> agent cleanup
2025-08-18 16:25:30 -07:00
Patrick Erichsen
c1a47858f3
fix: rule colocation uri logic (#7164)
* fix: rule colocation uri logic

* rename to `fileUri`

* fix: type errors

* fix test mocks

* Update slugs.test.ts
2025-08-15 10:00:17 -07:00
Patrick Erichsen
3253c11821 add modelProvider to PromptLog 2025-08-13 22:06:01 -07:00
Patrick Erichsen
217aa2d265 fix: add missing modelProvider and modelName to nextEditWithHistory event
Adds missing modelProvider and modelName fields to make the schema
consistent with other dev data events.

Fixes CON-3402

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-12 20:50:15 -07:00
Patrick Erichsen
4307010ab1 fix: standardize modelName and add missing modelProvider in dev data schemas
- Rename modelTitle to modelName across all dev data schemas for consistency
- Add missing modelProvider field to chatFeedback event schema
- Fixes CON-3401 and CON-3400

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-12 20:47:09 -07:00
Dallin Romney
56cf2abf20
feat: Respect Org Policies (#7087)
* fix: allow no selected org, respect policy

* feat: respect policies in extension

* fix: config handler test

* fix: context providers test
2025-08-11 19:20:07 -07:00
Keerthana Panyam
bbc200f283
Merge branch 'main' into panyamkeerthana/current_file_context 2025-08-08 11:51:33 -04:00
Keerthana Panyam
8fe5077e60 move context restriction properties to model level autocompleteOptions
- added context restriction properties to model autocompleteOptions schema
- discarded changes to add global tabAutocompleteOptions to config schema
- added experimental parameters to both config-types.
- added YAML alternative note to json reference.
- updated YAML configuration example with per-model options.
- added reference documentation with parameters for autocomplete options.
2025-08-08 11:50:14 -04:00
Dallin Romney
b6f3ede6e1
Merge pull request #6781 from Jazzcort/fix-block-duplication
Fix: Remove duplicate blocks and provide config warnings
2025-08-07 13:51:11 -07:00
Dallin Romney
01812e598f
feat: gpt-5 support (#7054)
* fix: gpt-5 support

* fix: gpt 5 context length

* fix: broken test file
2025-08-07 13:36:26 -07:00
Jazzcort
bc3375e818 Fix: Remove duplicate blocks and provide config warnings
This patch is to address the following cases that duplicate blocks appear in
the UI and confuse users:

  1. When users refer to a local block with "- uses", if the block is
     already in the default directories (e.g. ~/.continue/models or
     <workspacea>/.continue/models) and users don't override its name
     attribute, the duplicate block will appear in the UI.

  2. When users have duplicate block names among each block type in their
     assistant config.

  3. When the injected blocks have duplicate names with the assistant config
     for the corresponding block type.

The duplicate blocks in the UI is confusing, especially in the model
selection.

This patch add a blockDuplicationDetector to detect duplication. When a
duplication is detected, we remove the duplicate item and push a config
error to the result to warn the users that having duplicate names is not
the best practice to set up their config.

The detecting order: assistant config -> injected blocks

To detect duplication, all block types use "name" as the identifier except
for rules and context. For rules, if it's an rule object, we use the "name"
attribute. Otherwise, we use its string content as the identifier. For
context, the "provider" attribute is used as the identifier.

The detection only happens under assistant level, which means you can have
assistants with duplicate names.
2025-08-07 14:53:54 -04:00
Jacob Kim
6a31f985b0 feat: add next_edit z.literal 2025-08-06 15:51:57 -07:00
Dallin Romney
3c16e46cc9
Merge pull request #6722 from continuedev/nate/anthropic-stop-reason
fix: increase default max_tokens for Anthropic API to 32k
2025-08-05 15:30:51 -07:00
Dallin Romney
5b0902894b fix: anthropic openai adapters max tokens 2025-08-05 14:35:16 -07:00
Keerthana Panyam
f1a6c8eb0c changing import from config-types package
importing from the built config-types package instead of its src/
2025-08-05 17:34:48 -04:00
Keerthana Panyam
97d426bf68 restrict autocomplete context from other files in config.yaml
added schema properties and tabAutocompleteOptions schema to
to support in YAML config file, allowing proper
override of default values from parameters.ts.

added .optional() tags to tabAutocompleteOptions properties to enable
partial override from the config.yaml file.
2025-08-05 17:34:48 -04:00
Dallin Romney
725e607f4e Merge branch 'main' of https://github.com/continuedev/continue into dependabot/npm_and_yarn/packages/openai-adapters/form-data-4.0.4 2025-08-05 13:54:00 -07:00
Dallin Romney
d4198e76ec
Merge pull request #6769 from continuedev/dallin/catch-hub-loading-errors
fix: catch hub org loading errors, fallback to local
2025-08-05 13:15:58 -07:00
Dallin Romney
5fb9b5f601
Merge branch 'main' into nate/anthropic-stop-reason 2025-08-05 12:48:09 -07:00
Aditya Mitra
217b463ede
fix: add maximum 4 cache control blocks for anthropic (#6937)
* add max 5 cache controls

* add tests

* use MAX_CACHING_MESSAGES instead
2025-08-05 09:06:14 -07:00
Tomasz Stefaniak
07166fbd7e Merge branch 'main' into pr/5961 2025-08-04 08:40:11 -07:00
Tomasz Stefaniak
f7412ba627
Fetch CA certificate tests (#6803)
* test: certificates

* fix: failing tests

* test: e2e

* fix: prettier

* improv: clean up code

* chore: update dependencies

* fix: type errors

* fix: formatting
2025-07-31 15:37:36 -07:00
Tomasz Stefaniak
0848526e5b
Merge pull request #6909 from continuedev/tomasz/con-2783-make-agent-mode-more-testable-by-minimizing-thunks-and
Tomasz/con 2783 make agent mode more testable by minimizing thunks and
2025-07-31 15:13:40 -07:00
Tomasz Stefaniak
b56c7f52e8 fix: formatting 2025-07-31 11:34:43 -07:00
Dallin Romney
5520d5b7e4 merge main 2025-07-31 09:34:22 -07:00
dependabot[bot]
421bacfc4b
chore(deps): bump form-data in /packages/openai-adapters
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.0 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.0...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 22:17:57 +00:00
Patrick Erichsen
ed2fdabf99 Update main.test.ts 2025-07-29 10:13:53 -07:00
Patrick Erichsen
86b36abb25 Update main.test.ts 2025-07-29 09:59:20 -07:00
Patrick Erichsen
32cdead71a update packages script 2025-07-28 19:46:23 -07:00
Patrick Erichsen
1c7bdcf671 updates 2025-07-28 19:29:09 -07:00
Patrick Erichsen
21b15eb7b4 CI fixes 2025-07-28 16:17:08 -07:00
Patrick Erichsen
0f582f2002 feat: restore enhanced build system and integrate parallel build script
This PR combines two improvements to the build system:

1. **Restore Enhanced Build System** (reverts PR #6811)
   - Restores commit SHA versioning for VS Code extensions
   - Brings back reusable GitHub Actions workflows
   - Re-enables monorepo build system with local file dependencies
   - Restores enhanced oneper utility with commit SHA support

2. **Integrate Parallel Build Script** (integrates PR #6821)
   - Replaces shell/PowerShell build scripts with JavaScript version
   - Implements parallel package building for 40% faster builds (20s → 12s)
   - Cross-platform compatibility using Node.js instead of platform-specific scripts
   - Enhanced error reporting and build status visibility

## Key Changes
- ✅ Reusable GitHub Actions workflow for VS Code extension builds
- ✅ Commit SHA versioning restored in extension package.json
- ✅ Enhanced oneper utility with full commit SHA support
- ✅ New `scripts/build-packages.js` with parallel execution
- ✅ Removed platform-specific `build-packages.sh` and `build-packages.ps1`
- ✅ Updated all workflows and tasks to use the new build script

## Performance Impact
Build time improvement: **20s → 12s** (40% faster) due to parallel execution

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 14:22:11 -07:00
Patrick Erichsen
81dd2c3112 Reapply "feat: enhance oneper utility and refactor build system for commit SHA versioning" (#6811)
This reverts commit 880786b66f.
2025-07-28 14:15:49 -07:00
Nate Sesti
d5a4c66605
Merge pull request #6646 from continuedev/nate/continue-sdk-more-routes
Nate/continue-sdk-more-routes
2025-07-28 13:44:30 -07:00
Tomasz Stefaniak
fc481a1a2c
Merge pull request #6731 from continuedev/dallin/local-blocks-for-hub-assistants
feat: Support local block loading for hub assistants
2025-07-28 13:18:19 -07:00
Nate Sesti
bbc4133e8c
Merge pull request #6827 from continuedev/nate/ollama-oai-adapter
Add Ollama OpenAI adapter support
2025-07-28 13:08:42 -07:00