continue-custom/core/llm
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
..
llms Add rich logging of LLM interactions 2025-04-07 14:11:38 -04:00
rules fix: failing tests 2025-04-03 14:48:00 -07:00
templates Added FIX for azure content filtering problem 2025-02-17 00:19:36 +05:30
utils feat: get paths 2025-04-03 10:45:42 -07:00
asyncEncoder.test.ts test: colocate tests in core 2024-08-16 10:35:40 -07:00
asyncEncoder.ts chore: apply eslint to vscode and core 2024-11-11 07:38:52 -08:00
autodetect.ts first take relace provider 2025-03-19 11:03:16 -07:00
constants.ts fix: set DEFAULT_CONTEXT_LENGTH to 8192 2025-04-03 10:18:30 +08:00
constructMessages.ts remove tool system prompt 2025-03-17 16:10:26 -07:00
countTokens.test.ts fix: type errors 2025-04-03 14:55:37 -07:00
countTokens.ts Merge pull request #4974 from continuedev/tomasz/if-rules 2025-04-03 20:51:27 -07:00
flattenMessages.test.ts update anthropic tool use 2024-11-19 13:32:54 -08:00
index.test.ts Add rich logging of LLM interactions 2025-04-07 14:11:38 -04:00
index.ts Add rich logging of LLM interactions 2025-04-07 14:11:38 -04:00
llamaTokenizer.d.ts ⏩ Preview to main (#1299) 2024-05-16 22:15:44 -07:00
llamaTokenizer.js ⏩ Preview to main (#1299) 2024-05-16 22:15:44 -07:00
llamaTokenizer.mjs Preview (#1750) 2024-07-28 23:16:18 -07:00
llamaTokenizerWorkerPool.mjs Enable async encoding for the GPTEncoder (#1946) 2024-08-06 16:18:49 -07:00
llm.test.ts tools and settings fixes 2025-03-26 10:48:40 -07:00
logger.ts Add rich logging of LLM interactions 2025-04-07 14:11:38 -04:00
openaiTypeConverters.ts fix tochatmessage logic 2025-02-12 18:37:36 -08:00
stream.ts ts-ignore to fix type error 2024-12-11 07:17:00 -08:00
streamChat.ts consolidate streaming 2025-03-18 19:48:03 -07:00
tiktokenWorkerPool.mjs Enable async encoding for the GPTEncoder (#1946) 2024-08-06 16:18:49 -07:00
toolSupport.test.ts avoid activating tools for claude haiku and opus 2025-03-01 20:56:10 -08:00
toolSupport.ts Merge pull request #4016 from Lash-L/vertexai_fixes 2025-03-16 10:35:09 -07:00