Commit graph

3647 commits

Author SHA1 Message Date
Nate
aa2aff01c0 include workspace assistants when in org scope 2025-04-08 15:07:11 -07:00
Nate
2d397ded99 support for local .env secrets 2025-04-08 14:52:12 -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
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
Dallin Romney
e7c2d33e58 pass around continue for teams enabled 2025-04-06 15:19:16 -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
Dallin Romney
2efd3ff03a working and disable input when pending tool call stream 2025-04-04 03:16:18 -07:00
Dallin Romney
e1ff2a9e57 custom gui approach 2025-04-04 02:07:43 -07:00
Dallin Romney
8f556c0b01 move to custom edit impl 2025-04-04 01:02:48 -07:00
Dallin Romney
4683a20c2f cleanup 2025-04-04 00:51:31 -07:00
Dallin Romney
1bc816b1f1 edit file apply state 2025-04-04 00:38:33 -07:00
Dallin Romney
1a63ea756d hacky apply implementation 2025-04-03 23:41:05 -07:00
Dallin Romney
5014e162cc error if already exists" 2025-04-03 21:16:23 -07:00
Dallin Romney
9c0f43342e edit tool ui take zero 2025-04-03 21:08:48 -07:00
Nate Sesti
9555650952
Merge pull request #4964 from continuedev/nate/fix-bedrock-reranker-creds
fix bedrock reranker credentials
2025-04-03 20:54:07 -07:00
Nate Sesti
ae59e597da
Merge pull request #4974 from continuedev/tomasz/if-rules
Tomasz/if rules
2025-04-03 20:51:27 -07:00
Dallin Romney
e02741cb5e edit tool first take 2025-04-03 19:04:28 -07:00
Dallin Romney
9a7cebac28 cleanup 2025-04-03 18:44:43 -07:00
Patrick Erichsen
9df325a71f feat: prompt blocks 2025-04-03 16:51:42 -07:00
Dallin Romney
67888c7cfe grep search cleanup, glob search tool 2025-04-03 16:04:20 -07:00