薯皇! (@xin34635) 在 【openwebui-gpt5函数】 中发帖
最近在用openwebui的原生格式用gpt5总是会报一些错误,很奇怪,就写了一个函数来调用,目前没看到报错,不过思考过程没法像lobechat那样显示,可能跟上游有关。
"""
title: GPT-5 Pipe with Thinking Process
author_url: https://github.com/yourusername
author: Assistant
version: 1.0.0
license: MIT
description: OpenWebUI plugin for GPT-5 with thinking process visualization
"""
import json
import random
import httpx
import asyncio
import re
import time
from typing import Lis...