添加推荐问题修改接口
This commit is contained in:
1 parent
62292500ba
commit
2f2ba44c7c
13 files changed
+481
-126
No files matched your search
@@ -82,6 +82,7 @@ import {
|
||||
|
||||
import { useRecommendedQuestions } from "@/core/recommended-questions/hooks";
|
||||
|
||||
|
||||
import { useThread } from "./messages/context";
|
||||
import { ModeHoverGuide } from "./mode-hover-guide";
|
||||
import { Tooltip } from "./tooltip";
|
||||
@@ -164,7 +165,7 @@ export function InputBox({
|
||||
null,
|
||||
);
|
||||
|
||||
const [recommendedQuestions] = useRecommendedQuestions();
|
||||
const { questions: recommendedQuestions } = useRecommendedQuestions();
|
||||
|
||||
useEffect(() => {
|
||||
if (models.length === 0) {
|
||||
|
||||
Reference in new issue
Block a user