Skip to content

Conversation

@fl0w1nd
Copy link
Contributor

@fl0w1nd fl0w1nd commented Dec 9, 2024

  • openwebui_monitor_invisible.py
  • get_usage_button.py

增加一个不直接显示统计信息的版本,改而使用手动按钮触发显示统计信息,所以需要再安装一个 functions。原理是将统计数据直接写入message_id名称本地文件中,点击按钮时再读取统计数据显示

优点:

  1. 更美观,不受视觉影响
  2. 可防止和其它功能在状态栏上的覆写冲突,例如 websearch 会被计费信息覆盖

缺点:

只能查看最新(最底下)一条消息的计费状况,但无伤大雅

CleanShot 2024-12-10 at 04 34 51

@VariantConst
Copy link
Owner

可否在 PR 中附加对 resources/tutorials/zh-cn/deployment_guide_zh.md 的修改,添加详细的部署教程(包括动图演示)?应该是向 二、安装 OpenWebUI 函数插件 中附加一个三级目录,介绍如何进一步安装此函数插件。

Add instructions for using the manual trigger version function .
@fl0w1nd
Copy link
Contributor Author

fl0w1nd commented Dec 10, 2024

已加部署教程

@VariantConst VariantConst merged commit c439459 into VariantConst:main Dec 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants