Commit graph

959 commits

Author SHA1 Message Date
Dallin Romney
52f1f7034b
Merge pull request #5104 from continuedev/dallin/rules-sources
Rules UI improvements and Sources, System Message fixes
2025-04-15 17:22:49 -07:00
Dallin Romney
1dccf033e2 comment 2025-04-15 01:05:32 -07:00
Dallin Romney
03fb9b0d92 add space to empty messages 2025-04-14 21:23:54 -07:00
Dallin Romney
19e2781504 dont set parallel tool calls for o3 2025-04-14 16:21:00 -07:00
Dallin Romney
7d6ead019f fix message splicing 2025-04-11 02:04:15 -07:00
Dallin Romney
40f0ad3ad3 fix build errors 2025-04-11 01:20:31 -07:00
Dallin Romney
3615ee5a63 cleanup 2025-04-11 01:13:13 -07:00
Dallin Romney
7fc7f456d0 comment 2025-04-11 00:38:53 -07:00
Dallin Romney
bc963330c7 filter last empty assistant message 2025-04-11 00:35:14 -07:00
Dallin Romney
b9c31599ad rules ui, sources fixes 2025-04-11 00:23:57 -07:00
Dallin Romney
d6fafa0033 add model from gui, json schema 2025-04-10 22:16:35 -07:00
Dallin Romney
c277890b40 edit prompts 2025-04-10 21:56:04 -07:00
Dallin Romney
94fa4fe1b8 remove systemmesage usages 2025-04-10 19:48:33 -07:00
Dallin Romney
99a5d5e980 v12 2025-04-10 17:58:32 -07:00
Dallin Romney
fd151bf7b8 type progress 2025-04-10 16:46:09 -07:00
Patrick Erichsen
25c7144945 feat: update sys prompt 2025-04-09 18:23:38 -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
Dallin Romney
7e6da30421 broken yeet 2025-04-09 14:44:31 -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
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
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
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
7f8882eee1 feat: remove models property 2025-04-08 19:28:48 -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
chezsmithy
189d0c87c6 feat/bedrock-secure-prompt-caching 2025-04-07 22:49:40 -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
Nate
dfe852f274 isProperlyConfigured false if continue-proxy apiKeyLocation is NotFound 2025-04-06 15:21:59 -07:00
Nate
cfcbee33a4 isProperlyConfigured 2025-04-06 15:01:04 -07:00
Patrick Erichsen
401d67bbd0 feat: use fetch instead of http 2025-04-05 13:36:41 -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
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
tomasz-io
d2545e48d2 improv: clean up code 2025-04-03 15:21:35 -07:00
tomasz-io
2820f43503 improv: clean up 2025-04-03 14:56:22 -07:00
tomasz-io
ea6b2344d0 fix: type errors 2025-04-03 14:55:37 -07:00
tomasz-io
cb2e0a7c0e fix: failing tests 2025-04-03 14:48:00 -07:00
tomasz-io
6d27ac6777 test: rules 2025-04-03 14:05:53 -07:00
tomasz-io
81acb44601 fix: tests 2025-04-03 14:03:14 -07:00
tomasz-io
2b97efe5c6 fix: isRuleActive 2025-04-03 14:00:15 -07:00
tomasz-io
211fcb7740 feat: if-rule 2025-04-03 13:36:33 -07:00