0.0.7 • Published 3 months ago
duck-ai-api v0.0.7
QVD IS SOME SORT OF CHAT IDENTIFIER EACH CHAT HISTORY HAS ITS OWN CHAIN OF QVD
STATUS -> GENERATE NEW QVD FIRST MESSAGE (SEND QVD) -> GET BACK NEW QVD
THE NEW QVD CAN ONLY BE USED TO CONTINUE THAT MESSAGE
MESSAGES WITH DIFFERENT HISTORY WON'T WORK
Duck AI API
Project Overview
A wrapper around GitHub DuckDuckGo AI API to make it OpenAI compatible, making it usable for other tools.
Using with npx
You can run the project directly using npx:
npx duck-ai-api@latest
With options:
npx duck-ai-api --port 8080
Command Line Options
The server accepts several command line options:
Option | Description | Default |
---|---|---|
--port, -p | Port to listen on | 4141 |
--verbose, -v | Enable verbose logging | false |
Tested Tools Compatibility
Tool | Status | Notes |
---|---|---|
Aider | Full | Fully compatible |
bolt.diy | Full | Fully compatible; use any random API key in UI if models fail to load |
Page Assist | Full | Fully compatible |
Kobold AI Lite | Full | Fully compatible |
Note: In general, any application that uses the standard OpenAI-compatible /chat/completions
and /models
endpoints should work with this API.