Pywayne LLM Chat Ollama Gradio
Gradio-based chat interface for Ollama with multi-session management. Use when working with pywayne.llm.chat_ollama_gradio module to create a web-based chat UI that connects to Ollama models, supports multiple chat sessions, model selection, and streaming responses. Integrates with ChatManager for session management.
Install
npx skills add wangyendt/wayne-skills --skill pywayne-llm-chat-ollama-gradiogit clone --depth 1 https://github.com/wangyendt/wayne-skills.git /tmp/wayne-skills
mkdir -p ~/.claude/skills
cp -r /tmp/wayne-skills/pywayne/llm/chat-ollama-gradio ~/.claude/skills/pywayne-llm-chat-ollama-gradioPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Pywayne Chat Ollama Gradio
This module provides a Gradio-based web chat interface for Ollama models with multi-session support.
## Quick Start
```python
from pywayne.llm.chat_ollama_gradio import OllamaChatGradio
# Create and launch chat interface
app = OllamaChatGradio(
base_url="http://localhost:11434/v1",
server_port=7870
)
app.launch()
```
## Configuration
| Parameter | Default | Description |
|-----------|---------|-------------|
| `base_url` | `"http://localhost:11434/v1"` | Ollama API base URL |
| `server_name` | `"0.0.0.0"` | Server host name |
| `server_port` | `7870` | Server port |
| `root_path` | `""` | Root path for reverse proxy |
| `api_key` | `"ollama"` | API key (for Ollama compatibility) |
## Model Discovery
Automatically discovers available Ollama models by running `ollama list`:
- Excludes models with 'embed' in the name
- Falls back to `qwen2.5:0.5b` if no models found
## Session Management
### Creating New Sessions
```python
# UI method: Click "新建会话" button
new_chat_id, new_history, new_choices = app.create_new_chat()
```
### Switching Sessions
```python
# UI method: Select from "历史会话" radio list
history = app.switch_chat(selected_chat_id)
```
## API Reference
### OllamaChatGradio
| Method | Description |
|---------|-------------|
| `get_ollama_models()` | Get list of available Ollama models |
| `init_chat_manager()` | Initialize ChatManager instance |Details
- Skill name
pywayne-llm-chat-ollama-gradio- Repository
- wangyendt/wayne-skills
- Path
pywayne/llm/chat-ollama-gradio/SKILL.md- License
- MIT
- Repo updated
- 23 October 2026
FAQ
What does the Pywayne LLM Chat Ollama Gradio skill do?
Gradio-based chat interface for Ollama with multi-session management. Use when working with pywayne.llm.chat_ollama_gradio module to create a web-based chat UI that connects to Ollama models, supports multiple chat sessions, model selection, and streaming responses. Integrates with ChatManager for session management.
How do I install the Pywayne LLM Chat Ollama Gradio skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add wangyendt/wayne-skills --skill pywayne-llm-chat-ollama-gradio. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Pywayne LLM Chat Ollama Gradio popular?
It lives in wangyendt/wayne-skills, which has 9 GitHub stars and 0 forks.
Related skills
Alapi
9wangyendt/wayne-skills
Comprehensive ALAPI skill covering the full bundled ALAPI OpenAPI catalog. Use when the user mentions ALAPI, alapi, ALAPI_TOKEN, openapi.json, or an ALAPI path like /api/..., or asks to find which ALAPI API matches a business need, choose between similar ALAPI endpoints, explain request fields, prepare or execute a request, or troubleshoot an ALAPI response. Covers inspirational content, articles, news and hotlists, AI chat/translation/NLP, OCR and document recognition, weather and calendar data, IP/phone/ID/domain/ICP/enterprise lookup and verification, finance/exchange/gold/oil/crypto market
Android App Publisher
9wangyendt/wayne-skills
Build or publish standalone Android APKs to an authenticated OSS distribution service, update the latest release, list published apps, and generate stable download links and QR codes. Use for Android app sharing and release management, not generic OSS operations or app-store uploads.
Awesome Docs
9wangyendt/wayne-skills
Use this skill whenever the user asks to record, organize, update, or maintain project documentation, including architecture overviews and decisions, technical books and derivations, API/protocol/configuration references, implementation plans, roadmaps, todos, risks, experiments, know-how, or common commands. Choose paths and naming by document purpose, preserve existing canonical locations, and check links when reorganizing. Defaults to the target project’s docs directory unless the user specifies another location. Covers reader-first technical explanations and interactive HTML documents as w
Pywayne LLM Chat Window
9wangyendt/wayne-skills
PyQt5-based GUI chat window for LLM conversations with streaming responses and stop functionality. Use when working with pywayne.llm.chat_window module to create desktop chat applications with customizable window configuration, system message management, and real-time streaming display.
Pywayne LLM Chat Bot
9wangyendt/wayne-skills
LLM chat interface using OpenAI-compatible APIs with streaming support and session management. Use when working with pywayne.llm.chat_bot module for creating LLM chat instances with custom configuration, managing multi-turn conversations with history, handling streaming responses, or managing multiple chat sessions with ChatManager
Responsible AI
9tarunccet/pm-skills
Assess an AI feature or product for ethical risks, bias, safety issues, fairness gaps, and regulatory compliance. Use when reviewing an AI feature before launch, conducting a responsible AI audit, or responding to a bias or safety concern.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.