mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 05:09:09 +08:00
fix: exa return empty content
This commit is contained in:
parent
cf12fffaea
commit
5f35fceb25
@ -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…
Reference in New Issue
Block a user