chore: first commit

This commit is contained in:
Han Xiao 2025-01-26 18:05:17 +08:00
parent bd9afbf8d3
commit 20d2067d26
2 changed files with 9 additions and 3 deletions

View File

@ -2,5 +2,13 @@
export GOOGLE_API_KEY=... # ask han
export JINA_API_KEY=jina_... # get from jina.ai
npm install
npm run dev -- "what is the twitter account of jina ai's founder"
# example: no tool calling
npm run dev "1+1="
# example: simple
npm run dev "what is the latest news from Jina AI?"
# example: wrong answer
npm run dev "what is the twitter account of jina ai's founder"
# example: open question, long chain of thoughts
npm run dev "who will be president of US in 2028?"
npm run dev "what is the capital of France?"
```

View File

@ -55,7 +55,6 @@ type ResponseSchema = {
};
required: string[];
};
minItems: number;
description: string;
};
reasoning: {
@ -130,7 +129,6 @@ function getSchema(allowReflect: boolean): ResponseSchema {
},
required: ["title", "url"]
},
minItems: 1,
description: "Only required when choosing 'answer' action, must be an array of references"
},
reasoning: {