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.
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.
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.
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.
- Added InceptionLabs LLM provider integration
- Extended OpenAI class for Inception Labs-specific functionality
- Set up default options for Mercury models
- Added logo for Inception Labs in the UI
- Added model mappings for Mercury models (small, medium, large)
- Added support for different API endpoints based on model selection
- Created modelInfo structure to map models to their API endpoints
- Fixed handling for mercury-mini (zaragoza endpoint) and mercury-small (copenhagen endpoint)
- Updated model listing to return models from both endpoints
- Improved constructor to handle both friendly names and direct model names
Adds a new LLM provider for Docker Desktop's Model Runner feature, which
allows running local AI models with Docker. The implementation builds on
the existing OpenAI provider, since Docker Model Runner offers an
OpenAI-compatible API endpoint.
Features:
- Implementation of Docker provider extending OpenAI provider
- Support for listing and installing models via Docker CLI
- Added Docker logo for the UI
- ModelInstaller interface implementation
I first paired each ChatMessage with its token count, eliminating
the need to recalculate tokens later when generating the
distanceFromThird array. Additionally, I moved the filtering step
before sorting, ensuring that we only sort messages that exceed
1/3 of the context length instead of sorting the entire message
array.