-
Notifications
You must be signed in to change notification settings - Fork 135
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
LP 改善 #146
LP 改善 #146
Conversation
imageGenModelName: process.env.IMAGE_GEN_MODEL_NAME, | ||
}), | ||
}; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
無駄に Frontend に読ませる環境変数を増やしたくなかったため、設定をとれる API を生やしました
{!isLoading && !error && setting && ( | ||
<> | ||
<div className="flex w-full flex-col items-center text-sm"> | ||
<SettingItem name="LLM モデルタイプ" value={setting.modelType} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「設定情報」の存在に気づかないかなと思いました。
左下にメニュー的なもの用意する、ヘッダ部分にいい感じで表示するという代替案があるかなと思います!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
メニュー的なもの or いい感じにというのがわからないので、具体的に教えてください!設定ボタンつけて独立ページに移行すれば良いですか?
{setting.modelType === 'bedrock' && ( | ||
<div className="mt-5 w-2/3 text-xs xl:w-1/3"> | ||
ユースケース実行時にエラーになる場合は、必ず{' '} | ||
<span className="font-bold">{setting.modelRegion}</span> にて{' '} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
空文字を使ってスペーシングしていますが、CSSのmarginのほうが良いかなと思いました。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
英単語の前後に半角スペース入れて npm run lint したら勝手にこうなったんですよね。消しておきます。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
なるほど。linterの資料なんですね!
#125
#100