mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-12-14 15:48:15 +00:00
feat(types): add search_results research block
This commit is contained in:
@@ -75,6 +75,12 @@ export type SearchingResearchBlock = {
|
|||||||
searching: string[];
|
searching: string[];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type SearchResultsResearchBlock = {
|
||||||
|
id: string;
|
||||||
|
type: 'search_results';
|
||||||
|
reading: Chunk[];
|
||||||
|
};
|
||||||
|
|
||||||
export type ReadingResearchBlock = {
|
export type ReadingResearchBlock = {
|
||||||
id: string;
|
id: string;
|
||||||
type: 'reading';
|
type: 'reading';
|
||||||
@@ -84,6 +90,7 @@ export type ReadingResearchBlock = {
|
|||||||
export type ResearchBlockSubStep =
|
export type ResearchBlockSubStep =
|
||||||
| ReasoningResearchBlock
|
| ReasoningResearchBlock
|
||||||
| SearchingResearchBlock
|
| SearchingResearchBlock
|
||||||
|
| SearchResultsResearchBlock
|
||||||
| ReadingResearchBlock;
|
| ReadingResearchBlock;
|
||||||
|
|
||||||
export type ResearchBlock = {
|
export type ResearchBlock = {
|
||||||
|
|||||||
Reference in New Issue
Block a user