- 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.
Currently, this loop just keeps summarize the message at the very
top, which is not the desired behavior. Changing the index from 0
to i make it work as what we want.