Skip to content

Playground使用BUG #5

@fanyuanhangg

Description

@fanyuanhangg

首先感谢你们的开源贡献🎉

我目前遇到如下问题:
我在本地MacOS运行工程,成功注册了model以及创建了相关提示词模版,也确认可以用,模版也同步到了Nacos。

问题:
当我切换到Playground菜单使用已经创建的提示词模版进行测试,发现前端没有请求发出,我看了下浏览器的console日志为:
Uncaught (in promise) ReferenceError: currentPrompt is not defined
at playground.jsx:580:18
at Object.next (main.js:403:516641)
at FC (main.js:403:512824)
at a (main.js:403:513022)
at main.js:403:513083
at new Promise ()
at main.js:403:512963
at ef (playground.jsx:642:3)
at Object.onClick (playground.jsx:1583:31)
我已经不断的尝试从界面加载已经存在的提示词和手写新的提示词,但是仍然存在这个问题。

请帮忙回答我的疑问,谢谢。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions