We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc8ab3b commit f66c605Copy full SHA for f66c605
src/client/acontext-ts/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@acontext/acontext",
3
- "version": "0.0.5",
+ "version": "0.0.6",
4
"description": "TypeScript SDK for the Acontext API",
5
"main": "dist/index.js",
6
"types": "dist/index.d.ts",
src/client/acontext-ts/src/types/space.ts
@@ -34,7 +34,7 @@ export type SearchResultBlockItem = z.infer<typeof SearchResultBlockItemSchema>;
34
35
export const SpaceSearchResultSchema = z.object({
36
cited_blocks: z.array(SearchResultBlockItemSchema),
37
- final_answer: z.string().nullable(),
+ final_answer: z.string().nullable().optional(),
38
});
39
40
export type SpaceSearchResult = z.infer<typeof SpaceSearchResultSchema>;
0 commit comments