mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
feat: After connecting to dify with pipeline, click on the quoted document in the chat search results and a pop-up will appear with the quoted document linked. #6339
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kyuchong on GitHub (Sep 8, 2025).
Check Existing Issues
Problem Description
After connecting to dify with pipeline, click on the quoted document in the chat search results and a pop-up will appear with the quoted document linked.
I want to remove the quoted document URL from the pop-up window after clicking on the quote.
Desired Solution you'd like
openwebui function code
"""
Title: Dify Simple Clean Version
Author: kcjun@ubiquoss.com
Version: 9.0.0 - 간단 명료 버전
Date: 2025.09.04
"""
import aiohttp
import json
from pydantic import BaseModel, Field
from typing import Optional, List, AsyncGenerator, Callable, Awaitable
class Pipe:
class Valves(BaseModel):
DIFY_BASE_URL: str = Field(default="http://localhost:8000")
DIFY_API_KEY: str = Field(default="app-xxxxxxxxxxxxxxxxx")
SHOW_CITATIONS: bool = Field(default=True)
CITATION_LENGTH: int = Field(default=500)
Alternatives Considered
Additional Context
No response