Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have been solove #75

Open
GanQiao1990 opened this issue Feb 12, 2025 · 4 comments
Open

have been solove #75

GanQiao1990 opened this issue Feb 12, 2025 · 4 comments

Comments

@GanQiao1990
Copy link

[email protected] start
tsx --env-file=.env.local src/run.ts

Error running query: SGLT2 inhibitors mechanism of action in heart failure: DOMException [TimeoutError]: The operation was aborted due to timeout
at node:internal/deps/undici/undici:13185:13
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async postToApi (/home/qiao/dockerai/deep-research/node_modules/@ai-sdk/provider-utils/src/post-to-api.ts:65:22)
at async OpenAIChatLanguageModel.doGenerate (/home/qiao/dockerai/deep-research/node_modules/@ai-sdk/openai/src/openai-chat-language-model.ts:367:50)
at async fn (/home/qiao/dockerai/deep-research/node_modules/ai/core/generate-object/generate-object.ts:489:32)
at async (/home/qiao/dockerai/deep-research/node_modules/ai/core/telemetry/record-span.ts:18:22)
Error running query: Role of SGLT2 in heart failure pathophysiology: DOMException [TimeoutError]: The operation was aborted due to timeout
at node:internal/deps/undici/undici:13185:13
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Writing final report...

Depth: [ ] 0%
Breadth: [ ] 0%
Queries: [ ] 0%
Current: SGLT2 inhibitors mechanism of action in heart failure

the api have verified, but still errror

@GanQiao1990 GanQiao1990 changed the title at process.processTicksAndRejections (node:internal/process/task_queues:105:5) have been solove Feb 12, 2025
@GanQiao1990
Copy link
Author

re docker container and npm star by change the env

@giof94is
Copy link

Same here... @GanQiao1990 can you explain it better please? The API keys seem to work, sometimes the searches return contents but often the error "Error running query: ...: DOMException [TimeoutError]: The operation was aborted due to timeout..." appears on each search iteration

@GanQiao1990
Copy link
Author

@giof94is the api may not work in the config

@GanQiao1990
Copy link
Author

if you change the api and other in the config, please re docker start the container and npm star by change the env

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants