fix: exa return empty content
This commit is contained in:
parent
1b0b2f6736
commit
762c901074
@ -22,7 +22,10 @@ export default class ExaProvider extends BaseWebSearchProvider {
|
|||||||
|
|
||||||
const response = await this.exa.search({
|
const response = await this.exa.search({
|
||||||
query,
|
query,
|
||||||
numResults: Math.max(1, maxResults)
|
numResults: Math.max(1, maxResults),
|
||||||
|
contents: {
|
||||||
|
text: true
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user