Files
Fu-Jie_openwebui-extensions/plugins/pipes/iflow-sdk-pipe/README_CN.md
fujie c6279240b9 fix(pipes): fix mcp tool filtering and force-enable autonomous web search
- Fix issue where mcp tool filtering logic (function_name_filter_list) in admin backend caused all tools to be hidden due to ID prefix mismatch
- Force enable web_search tool for Copilot Agent regardless of UI toggles, providing full autonomy for search-related intents
- Updated README and version to v0.9.1
2026-03-04 00:11:28 +08:00

38 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# iFlow 官方 SDK Pipe 插件
此插件将 [iFlow SDK](https://platform.iflow.cn/cli/sdk/sdk-python) 集成到 OpenWebUI 中。
## 功能特性
- **标准 iFlow 集成**:通过 WebSocket (ACP) 连接到 iFlow CLI 进程。
- **自动进程管理**:如果 iFlow 进程未运行,将自动启动。
- **流式输出支持**:支持从 iFlow 到聊天界面的实时流式输出。
- **实时状态更新**:在 UI 中实时显示助手状态(思考中、工具调用等)。
- **工具调用可视化**:实时反馈 iFlow 调用及完成工具的过程。
## 配置项 (Valves)
- `IFLOW_PORT`iFlow CLI 进程端口(默认:`8090`)。
- `IFLOW_URL`WebSocket 地址(默认:`ws://localhost:8090/acp`)。
- `AUTO_START`:是否自动启动进程(默认:`True`)。
- `TIMEOUT`:请求超时时间(秒)。
- `LOG_LEVEL`SDK 日志级别DEBUG, INFO 等)。
## 安装说明
此插件同时依赖 **iFlow CLI** 二进制文件和 **iflow-cli-sdk** Python 包。
### 1. 安装 iFlow CLI (系统层级)
在系统中执行以下命令(适用于 Linux/macOS
```bash
bash -c "$(curl -fsSL https://gitee.com/iflow-ai/iflow-cli/raw/main/install.sh)"
```
### 2. 安装 Python SDK (OpenWebUI 环境)
```bash
pip install iflow-cli-sdk
```