Commit graph

3661 commits

Author SHA1 Message Date
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
Patrick Erichsen
eae1dd20bb feat: use thunj 2025-04-08 18:47:29 -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
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
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
Patrick Erichsen
e5608a94e5 feat: fix ctx providers w/ slash cmds 2025-04-06 19:58:47 -07:00
Dallin Romney
368ee47cb3 server display title 2025-04-06 18:35:59 -07:00
Dallin Romney
b50bf43b26 refresh on any new titles 2025-04-06 18:33:03 -07:00
Dallin Romney
474c52aec1 truncate prefixes 2025-04-06 17:39:29 -07:00
Dallin Romney
c6d5ba1944 fix some auth logic 2025-04-06 16:17:33 -07:00
Dallin Romney
dda3168957 fixes 2025-04-06 15:55:07 -07:00
Dallin Romney
3039592d24 fix deeplink handling 2025-04-06 15:31:05 -07:00
Dallin Romney
b8c6fc400e fix syntax 2025-04-06 15:25:45 -07:00
Nate
dfe852f274 isProperlyConfigured false if continue-proxy apiKeyLocation is NotFound 2025-04-06 15:21:59 -07:00
Dallin Romney
e7c2d33e58 pass around continue for teams enabled 2025-04-06 15:19:16 -07:00
Nate
cfcbee33a4 isProperlyConfigured 2025-04-06 15:01:04 -07:00
Dallin Romney
ddcd2bc819 gui updates 1 2025-04-06 14:59:57 -07:00
Dallin Romney
20e5b12c02 blah 2025-04-06 13:45:10 -07:00
Dallin Romney
fd3db4a01a BROKEN - assistant switch p12 2025-04-06 13:40:58 -07:00
Dallin Romney
2af2e7a9de BROKEN - merge main 2025-04-06 12:59:26 -07:00
Patrick Erichsen
ae54a82f80
Merge pull request #4997 from metcalfc/docker_localhost
Switch to localhost for using Docker models.
2025-04-05 14:50:08 -07:00
Patrick Erichsen
401d67bbd0 feat: use fetch instead of http 2025-04-05 13:36:41 -07:00
Dallin Romney
e382cddeed merge-main 2025-04-04 18:37:05 -07:00
Dallin Romney
f2237c0399 cleanup 2025-04-04 17:10:24 -07:00
Dallin Romney
2adcd20d25 merge main 2025-04-04 17:08:43 -07:00
Chad Metcalf
d056a8c44a
Switch to localhost for using Docker models.
Docker only exposes the http://model-runner.docker.internal
address inside of containers. So we will want to use localhost.
2025-04-04 15:48:39 -07:00
Dallin Romney
ebe9c5c3b9 typo 2025-04-04 15:46:15 -07:00
Patrick Erichsen
03bb9c59b0 Merge branch 'main' into pe/prompt-inputs 2025-04-04 14:10:39 -07:00
Dallin Romney
be22741fc0 continued 2025-04-04 10:06:53 -07:00
Dallin Romney
80de269163 Merge branch 'main' of https://github.com/continuedev/continue into dallin/assistant-switch-fixes 2025-04-04 03:59:49 -07:00