Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 当前时间助手插件无法安装 #5747

Open
Alencryenfo opened this issue Feb 4, 2025 · 17 comments
Open

[Bug] 当前时间助手插件无法安装 #5747

Alencryenfo opened this issue Feb 4, 2025 · 17 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@Alencryenfo
Copy link

📦 部署环境

Vercel

📌 软件版本

v1.50.5

💻 系统环境

Windows

🌐 浏览器

Edge

🐛 问题描述

在安装由CC发布的当前时间助手时,提示无法获取,检查配置 cros 跨域

📷 复现步骤

No response

🚦 期望结果

solution1 建议在用户预处理模板中添加{{time}}用于原生支持时间获取
solution2 联系开发者修复或者下架该插件

📝 补充信息

该插件开发者称因长时间无人使用,其关闭了该插件
我们希望可以补充预处理模板用来原生修复该 bug

@Alencryenfo Alencryenfo added the 🐛 Bug Something isn't working | 缺陷 label Feb 4, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Feb 4, 2025
@lobehubbot
Copy link
Member

👀 @Alencryenfo

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


📦 deployment environment

Vercel

📌 Software version

v1.50.5

💻 System environment

Windows

🌐 browser

EDGE

🐛 Problem description

When installing the current time assistant published by CC, it is prompted to obtain it. Check the configuration of CROS cross -domain

📷 Reapped steps

NO Response

🚦 expectation result

SOLUTION1 recommends adding {{ TIME }} to the native support time acquisition in the user's pre -processing template
solution2 contact the developer to repair or remove the plug -in

📝 Supplement information

The plug -in developer said that because it was not used for a long time, it closed the plug -in
We hope that the pre -processing template is used to native fixation the bug @@ === [bug] The current time assistant plugin cannot be installed

Copy link

dosubot bot commented Feb 4, 2025

Hey @Alencryenfo! I'm here to help you with any bugs, questions, or contributions. Feel free to ask anything while we wait for a human maintainer.

To address the issue with the "Current Time Assistant" plugin installation on Vercel, you can try the following solutions:

  1. CORS Configuration: Ensure that the CORS settings are correctly configured in your S3 storage service (e.g., Cloudflare R2) to allow requests from your Vercel deployment domain. You can add a CORS rule like this:

    [
      {
        "AllowedOrigins": ["https://your-project.vercel.app"],
        "AllowedMethods": ["GET", "PUT", "HEAD", "POST", "DELETE"],
        "AllowedHeaders": ["*"]
      }
    ]

    This configuration should be added to the CORS settings of your storage bucket [1].

  2. User Preprocessing Template: If you want to add native support for time retrieval, you can modify the user preprocessing templates to include a placeholder like {{time}}. However, specific details on how to modify these templates were not found in the current documentation.

  3. Plugin Status: Since the plugin developer mentioned that the plugin was closed due to inactivity, you might consider contacting the developer for further assistance or exploring alternative solutions to achieve the desired functionality.

These steps should help you resolve the issue or find a workaround.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@Alencryenfo
Copy link
Author

Hey @Alencryenfo! I'm here to help you with any bugs, questions, or contributions. Feel free to ask anything while we wait for a human maintainer.

To address the issue with the "Current Time Assistant" plugin installation on Vercel, you can try the following solutions:

  1. CORS Configuration: Ensure that the CORS settings are correctly configured in your S3 storage service (e.g., Cloudflare R2) to allow requests from your Vercel deployment domain. You can add a CORS rule like this:
    [
    {
    "AllowedOrigins": ["https://your-project.vercel.app"],
    "AllowedMethods": ["GET", "PUT", "HEAD", "POST", "DELETE"],
    "AllowedHeaders": ["*"]
    }
    ]

    This configuration should be added to the CORS settings of your storage bucket [1].

  2. User Preprocessing Template: If you want to add native support for time retrieval, you can modify the user preprocessing templates to include a placeholder like {{time}}. However, specific details on how to modify these templates were not found in the current documentation.

  3. Plugin Status: Since the plugin developer mentioned that the plugin was closed due to inactivity, you might consider contacting the developer for further assistance or exploring alternative solutions to achieve the desired functionality.

These steps should help you resolve the issue or find a workaround.

To continue talking to Dosu, mention @dosu.

Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

上述并不能解决问题

@bluema9pie-work
Copy link

Image

一直跳出這個,超煩的...

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Image

It keeps jumping out of this, very annoying...

@Alencryenfo
Copy link
Author

Image

一直跳出這個,超煩的...

我问过原作者了,这个插件确实已经不维护了,还想用要么自己部署,要么还是 lobechat 搞一个模板得了

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Image

I keep jumping out of this, it's so annoying...

I asked the original author that this plugin is no longer maintained. I still want to use either deploy it yourself or create a template with lobechat.

@bluema9pie-work
Copy link

Image
一直跳出這個,超煩的...

我问过原作者了,这个插件确实已经不维护了,还想用要么自己部署,要么还是 lobechat 搞一个模板得了

問題是我已經刪掉了,根本沒安裝,他還是一直跳出來...
真的部分就要整個系統重裝了 哀...

@Alencryenfo
Copy link
Author

Alencryenfo commented Feb 6, 2025

Screenshot_20250206_165704_com.github.android.jpg

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@Alencryenfo
Copy link
Author

Image
一直跳出這個,超煩的...

我问过原作者了,这个插件确实已经不维护了,还想用要么自己部署,要么还是 lobechat 搞一个模板得了

問題是我已經刪掉了,根本沒安裝,他還是一直跳出來...
真的部分就要整個系統重裝了 哀...

你是 db 版本还是普通的
DB可以尝试清空cookie

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Image
I keep jumping out of this, very annoying...

I asked the original author that this plugin is no longer maintained. I still want to use either deploy it yourself or create a template with lobechat.

The problem is that I have deleted it and it has not installed it at all, so he still keeps jumping out...
The real part needs to be reinstalled. Ala...

Are you db version or normal
DB can try to clear cookies

@bluema9pie-work
Copy link

Image
一直跳出這個,超煩的...

我问过原作者了,这个插件确实已经不维护了,还想用要么自己部署,要么还是 lobechat 搞一个模板得了

問題是我已經刪掉了,根本沒安裝,他還是一直跳出來...
真的部分就要整個系統重裝了 哀...

你是 db 版本还是普通的 DB可以尝试清空cookie

沒有用,換其他瀏覽器也沒有用

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Image
I keep jumping out of this, very annoying...

I asked the original author that this plugin is no longer maintained. I still want to use either deploy it yourself or create a template with lobechat

The problem is that I have deleted it and it has not installed it at all, so he still keeps jumping out...
The real part of the system needs to be reinstalled. Ala...

Are you a db version or a normal DB, you can try to clear cookies

It's useless, it's useless to change to other browsers

@Alencryenfo
Copy link
Author

Alencryenfo commented Feb 6, 2025

Image
一直跳出這個,超煩的...

我问过原作者了,这个插件确实已经不维护了,还想用要么自己部署,要么还是 lobechat 搞一个模板得了

問題是我已經刪掉了,根本沒安裝,他還是一直跳出來...
真的部分就要整個系統重裝了 哀...

你是 db 版本还是普通的 DB可以尝试清空cookie

沒有用,換其他瀏覽器也沒有用

那感觉这也是个bug
@arvinxx

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Image
keep jumping out of this, very annoying...

I asked the original author that this plugin is no longer maintained. I still want to use either deploy it yourself or create a template with lobechat

The problem is that I have deleted it and it has not installed it at all, so he still keeps jumping out...
The real part of the system needs to be reinstalled. Ala...

Are you a db version or a normal DB, you can try to clear cookies

It's useless, it's useless to change to other browsers

That feels like this is a bug too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

3 participants