Llm-duckduckgo-chat

Latest version: v0.1.6

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.1.6

A new release of llm-duckduckgo-chat plugin that works with llm to talk to llm models exposed by DuckDuckGo AI chat service.

0.1.5

Release Notes for Version 0.1.5 of llm-duckduckgo-chat

Overview
Version 0.1.5 of the `llm-duckduckgo-chat` plugin introduces several enhancements and bug fixes aimed at improving the functionality and reliability of interactions with the DuckDuckGo AI Chat service.

Key Changes

Model Name Correction
- **Updated Model Name**: The model name for "Mixtral Small 3" has been corrected to "Mistral Small 3" in the README documentation to ensure consistency and accuracy.

New Features
- **VQD Hash Handling**:
- Introduced support for handling `vqdhash`, a new header that enhances the request's integrity and security.
- The `DuckChatModel` class now fetches and utilizes both `vqd` and `vqdhash` for improved request handling.

Code Improvements
- **llm chat**:
- In the previous version of the plugin ``llm chat`` did't work. With release llm chat with duckchat models works as expected.

- **Error Handling**:
- Enhanced error handling when fetching `vqd` and `vqdhash`, ensuring that appropriate exceptions are raised in case of failures.
- Improved response handling in the `fetch_response` method to manage rate limits more effectively.

Testing Enhancements
- **Unit Tests**:
- Updated unit tests to cover the new `vqdhash` functionality, ensuring that both `vqd` and `vqdhash` are correctly processed and validated in various scenarios.
- Added assertions in tests to verify the correct handling of the new headers.

Version Bump
- **Version Update**: The version number has been incremented from `0.1.4` to `0.1.5` to reflect the changes made in this release.

Conclusion
This release focuses on improving the robustness of the `llm-duckduckgo-chat` plugin by adding support for new features and enhancing existing functionalities. I encourage everyone to update to version 0.1.5 to take advantage of these improvements.

![llm-chat-with-duckchat](https://github.com/user-attachments/assets/f9436e68-6508-403c-b98c-198d54fb0bbc)

0.1.4

llm-duckduckgo-chat

LLM plugin for talking to models exposed by DuckDuckGo AI Chat service. Adde Mistral Small 3 to the available models.

Mistral Small 3 sets a new benchmark in the “small” Large Language Models category below 70B, boasting 24B parameters and achieving state-of-the-art capabilities comparable to larger models.

Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/).

bash
llm install llm-duckduckgo-chat

Usage

To see exposed models

bash
llm models


Available Models

| Model | Performance | Best For | Features |
|-------|------------|----------|-----------|
| **GPT-4o mini** | Fast | Quick answers & basic tasks | • General-purpose |
| **Claude 3 Haiku** | Balanced | Technical discussions | • Good context handling<br>• Structured responses |
| **Llama 3.3** | Code-optimized | Programming tasks | • Documentation analysis<br>• Code generation |
| **Mistral Small 3** | Knowledge-focused | Complex topics | • Detailed explanations<br>• Deep analysis |
| **o3-mini** | Fastest | Simple queries | • Lightweight<br>• Quick responses |


To chat with a model

bash
llm -m mistral "What is DuckDuckGo"

0.1.3

LLM plugin for interacting with models exposed by DuckGuckGo AI Chat service

Based of [duckduckgo-ai-chat](https://github.com/sukhbinder/duckduckgo-ai-chat)

Added o3-mini

0.1.2

LLM plugin for interacting with models exposed by DuckGuckGo AI Chat service

> Based of [duckduckgo-ai-chat](https://github.com/sukhbinder/duckduckgo-ai-chat)


![Demo of DuckDuckGo AI Chat](https://raw.githubusercontent.com/sukhbinder/duckduckgo-aichat/main/demo-duckchat.gif)

0.1.1

LLM plugin for interacting with models exposed by DuckGuckGo AI Chat service

> Based of [duckduckgo-ai-chat](https://github.com/sukhbinder/duckduckgo-ai-chat)


![Demo of DuckDuckGo AI Chat](https://raw.githubusercontent.com/sukhbinder/duckduckgo-aichat/main/demo-duckchat.gif)

Page 1 of 2

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.