mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2026-07-21 08:55:21 -04:00
App is unavailable #24
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 @Putnug1122 on GitHub (Mar 16, 2024).
It shown 500 | App is unavailable error on first time run, no error occured on console log, what happen
@Abdelilah37 commented on GitHub (Mar 19, 2024):
same with me
@Rex-L commented on GitHub (Apr 1, 2024):
same with me
@Judy-pic commented on GitHub (Apr 2, 2024):
any one know the reason?
@Rex-L commented on GitHub (Apr 2, 2024):
I know the reason,Check .env.local file,Values do not require single quotes.

wrong:
correct:
NEXT_PUBLIC_APP_ID=xx
NEXT_PUBLIC_APP_KEY=
NEXT_PUBLIC_API_URL=xx
@Judy-pic commented on GitHub (Apr 2, 2024):
no working for me, I found const _conversationId = getConversationIdFromStorage(APP_ID), _conversationId is undefined
@Rex-L commented on GitHub (Apr 2, 2024):
@Judy-pic commented on GitHub (Apr 3, 2024):
cannot get id?
@iamjoel commented on GitHub (Aug 7, 2024):
I can't reproduce. Could you provide more detail? @Putnug1122
@hqz010 commented on GitHub (Sep 2, 2024):
This is caused by configuring variables in the prompt of the background app. If the variables are not configured, it can run normally. I also hope that the official will modify the bug as soon as possible.

@hqz010 commented on GitHub (Sep 3, 2024):
在prompt.ts中以下代码处,变量类型没有和后台配置的对上,没有定义”段落“类型,更没有基于api的:
const isParagraph = !!item.paragraph
const [type, content] = (() => {
if (isParagraph)
return ['paragraph', item.paragraph]
在app.ts类型定义中只有两种,见代码
export type TextTypeFormItem = {
label: string
variable: string
required: boolean
max_length: number
}
export type SelectTypeFormItem = {
label: string
variable: string
required: boolean
options: string[]
}
因该是提交这个版本时,这些代码没有合并起来,我测了cloud上的是可以正常运行的
@iamjoel
@lorrod commented on GitHub (Apr 8, 2025):
I have faced the same issue. To reproduce use single file type input for your workflow.
@iamjoel commented on GitHub (Apr 15, 2025):
Fixed: https://github.com/langgenius/webapp-conversation/pull/157