Metadata-Version: 2.4
Name: llm-woodpecker
Version: 0.2.1
Summary: LLM Woodpecker - AI Model Debugging Tool with Chat and Raw JSON modes
Author: january
License: MIT License
        
        Copyright (c) 2026
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastapi>=0.100.0
Requires-Dist: uvicorn>=0.23.0
Requires-Dist: httpx>=0.24.0
Requires-Dist: pyyaml>=6.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21; extra == "dev"
Dynamic: license-file

# LLM Woodpecker

LLM Woodpecker is an AI model debugging tool that supports both Chat mode and Raw JSON mode.

## Features

- **Chat Mode**: Interactive chat interface for testing LLM responses
- **Raw JSON Mode**: Direct JSON request/response testing with structured view
- **Multiple Model Support**: Configure and switch between different LLM providers
- **Streaming Support**: Real-time streaming responses
- **Modern UI**: Clean, responsive interface with collapsible content

## Installation

```bash
pip install llm-woodpecker
```

## Usage

### Web UI

```bash
llm-woodpecker
```

Then open http://127.0.0.1:7660 in your browser.

### Configuration

Initialize config file:
```bash
llm-woodpecker --init-config
```

List configured models:
```bash
llm-woodpecker --list-models
```

Set active model:
```bash
llm-woodpecker --set-model qwen
```

### Chat Mode (Terminal)

```bash
llm-woodpecker --chat
```

Or with a message:
```bash
llm-woodpecker --chat --messages '[{"role":"user","content":"Hello!"}]'
```

## Configuration File

The default config file is located at `~/.llm_woodpecker/config.yaml`.

## License

MIT License
