Commit graph

3696 commits

Author SHA1 Message Date
Patrick Erichsen
2d06b2d77d
Merge branch 'main' into dallin/tweaks-12 2025-04-09 21:00:41 -07:00
Patrick Erichsen
25c7144945 feat: update sys prompt 2025-04-09 18:23:38 -07:00
Dallin Romney
248713f7ca tweaks 2025-04-09 17:48:39 -07:00
Patrick Erichsen
56e5e09488 revert back to relative pathing for config-yaml 2025-04-09 16:49:30 -07:00
Patrick Erichsen
1c7715005d update package.json values 2025-04-09 15:48:08 -07:00
Patrick Erichsen
4fc477468f renames 2025-04-09 15:33:26 -07:00
Patrick Erichsen
e5ed4d3dc2 remove baseChatSystemMessage from ILLM 2025-04-09 15:16:27 -07:00
Patrick Erichsen
c6fa6d78a7 feat: simplify typings 2025-04-09 14:15:04 -07:00
Patrick Erichsen
75942dbbd4 Merge branch 'main' into pe/baseSystemPrompt 2025-04-09 11:56:16 -07:00
Patrick Erichsen
f6957bb856 feat: add support for baseSystemPrompt 2025-04-09 11:29:58 -07:00
Patrick Erichsen
7834d26633 fix: remove any from promptTemplate passing 2025-04-09 10:35:22 -07:00
Nate Sesti
30b5f32c9e
Merge pull request #5035 from chezsmithy/feat/bedrock-secure-prompt-caching
feat/bedrock-secure-prompt-caching
2025-04-09 10:02:46 -07:00
Nate Sesti
5b9a147dc8
Merge pull request #5062 from continuedev/dallin/yaml-reranking
Enable Embed/Reranking for all providers
2025-04-09 10:02:09 -07:00
Nate Sesti
38717abc6a
Merge pull request #5036 from chezsmithy/fix/fixing-web-search-typo
fix/web-search-typo
2025-04-09 09:59:56 -07:00
tomasz-io
0fda76868b improv: stricter linting 2025-04-09 09:36:37 -07:00
Tomasz Stefaniak
a4cfa361c2
Merge pull request #5077 from continuedev/tomasz/clean-up-code-2
improv: stricter linting
2025-04-09 09:34:01 -07:00
tomasz-io
1864ce1641 improv: stricter linting 2025-04-09 09:08:45 -07:00
Patrick Erichsen
c838a05cbc
Merge pull request #5058 from continuedev/pe/fallback-if-not-configured
feat: fallback to chat model from apply
2025-04-09 09:06:15 -07:00
tomasz-io
f6ecad7cce improv: stricter linting 2025-04-09 08:47:49 -07:00
Fred Bricon
e9ef2f9c15 Enable tools support for Cogito on Ollama
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-04-09 14:40:28 +02:00
Patrick Erichsen
ae72f3a293 remove eslint disable for max line error 2025-04-08 21:54:34 -07:00
Patrick Erichsen
96863db15c remove default model title 2025-04-08 21:35:45 -07:00
Patrick Erichsen
7f8882eee1 feat: remove models property 2025-04-08 19:28:48 -07:00
Dallin Romney
dcaf723d95 updated rerank and embed logic 2025-04-08 19:12:00 -07:00
Patrick Erichsen
eae1dd20bb feat: use thunj 2025-04-08 18:47:29 -07:00
Dallin Romney
5886841d88 embed/rerank fixes 2025-04-08 18:20:57 -07:00
Patrick Erichsen
1bf359a55f feat: remove defaultTitle 2025-04-08 17:55:11 -07:00
Patrick Erichsen
9b5f706371 Merge branch 'main' into pe/fallback-if-not-configured 2025-04-08 17:19:35 -07:00
Patrick Erichsen
b601c22d01 feat: fallback to chat model in IDE 2025-04-08 17:02:29 -07:00
Nate Sesti
713fd16e95
Merge branch 'main' into pe/assistant-unroll-bugfix 2025-04-08 16:58:59 -07:00
tomasz-io
98f2eacb09 improv: stricter linting 2025-04-08 15:21:03 -07:00
Patrick Erichsen
4006fbd58b Update loadYaml.ts 2025-04-08 13:45:06 -07:00
Patrick Erichsen
0508eb28fe Merge branch 'main' into pe/fallback-if-not-configured 2025-04-08 13:43:27 -07:00
Nate Sesti
6f39952c20
Merge pull request #5030 from continuedev/pe/llama-cpp-completions-fix
Update LlamaCpp.ts
2025-04-08 13:38:39 -07:00
Patrick Erichsen
fa3c5f7a15 rename to "LLMConfigurationStatuses" 2025-04-08 13:29:27 -07:00
Patrick Erichsen
46e8dd7c38 feat: fallback to chat model from apply model 2025-04-08 13:21:17 -07:00
Nate Sesti
578ce98a7b
Merge pull request #4790 from Granite-Code/Jazzcort/show-error-log-when-mention-big-item
Forbid file mentioning for large files
2025-04-08 11:49:53 -07:00
chezsmithy
305dc937ea fix/web-search-typo 2025-04-07 23:09:14 -07:00
chezsmithy
189d0c87c6 feat/bedrock-secure-prompt-caching 2025-04-07 22:49:40 -07:00
Jazzcort
1611bae1fb Forbid file mentioning for large files
When the context items provided by user overflow the context length
and are truncated, it is very confusing for the user. This is a
first step that catches an common case at the least confusing
time - when the user is selecting a file. A more general check that
warns whenever the most recent message is truncated is something
that can be added later.
Granite-Code/granite-code#22
2025-04-07 17:06:52 -04:00
Patrick Erichsen
6e54e7f612
Merge branch 'main' into rich-llm-logging 2025-04-07 13:02:46 -07:00
Patrick Erichsen
2c488b4ad1
Merge pull request #5028 from continuedev/pe/prompt-docs-pt2
feat: fix ctx providers w/ slash cmds
2025-04-07 13:00:57 -07:00
Patrick Erichsen
d174689ee2 Update LlamaCpp.ts 2025-04-07 12:36:54 -07:00
Owen W. Taylor
e0ee0f63de LLMLogFormatter: rich logging to an output stream
Add a streaming implementation of rich LLM logging to use
if we don't have the webview connected; it converts the
LLMInteractionItems into a human-readable stream with
timestamps, handling of overlapping interactions, and so
forth.

Use this for the binary.
2025-04-07 14:11:38 -04:00
Owen W. Taylor
3553dfaae4 Add rich logging of LLM interactions
Instead of treating LLM logging as simply writing lines of text
sequentially, emit a stream of typed data objects that include
rich information about the interaction, such as timestamps,
message types, tool calls, etc.

These are then collected by a new custom webview in the vscode
extension (the "Continue Console"), allowing a user or developer
to browse through the different interactions and view them in detail.
In progress interactions are now streamed live, instead of being held back
to avoid concurrency issues.

This webview could be also exposed for IntelliJ or file logging
could be reimplemented on top of the new framework.
2025-04-07 14:11:38 -04:00
Owen W. Taylor
caf7288d36 Revert "Add citations to the log"
We can't add citations to the rich log until we have them plumbed
through with the correct data types. That will happen when they
get added to the UI. Since the only appearance so far was in the
old text log, just revert the addition for now.

This reverts commit 6bc0bfc5f1.
2025-04-07 14:04:44 -04:00
Owen W. Taylor
5166e74799 BaseLLM: don't disguise AbortError when rethrowing
When we catch/log/rethrow AbortError, throw it as itself, rather than
throw Error(e.message) so that outer callers can detect it by the
exception name.
2025-04-07 14:04:44 -04:00
Patrick Erichsen
84df7f45bf fix: return ctx items from prompt file 2025-04-07 09:00:15 -07:00
Dallin Romney
8acc20ab3e
Merge pull request #5013 from continuedev/dallin/assistant-switch-fixes
Config Loading and Org/Profile Selection Fixes
2025-04-06 23:01:48 -07:00
Dallin Romney
250dbbbd09
Merge pull request #5015 from continuedev/dallin/hide-sqlite-errors
Truncate autocomplete LRU cache prefixes
2025-04-06 23:00:23 -07:00