Open suntorytimed opened 5 days ago
Describe the bug After 0.6.2 of AppFlowy resolved the issue of stuck AI requests I am now at the stage I can test the AI server of AppFlowy Cloud. When doing an AI request in AppFlowy I receive following error:
{"code":1017,"message":"Invalid request:reqwest::Error { kind: Request, url: Url { scheme: \"http\", cannot_be_a_base: false, username: \"\", password: None, host: Some(Domain(\"ai\")), port: Some(5001), path: \"/completion/stream\", query: None, fragment: None }, source: Error { kind: Connect, source: Some(ConnectError(\"dns error\", Custom { kind: Uncategorized, error: \"failed to lookup address information: Name or service not known\" })) } }"}
To Reproduce Steps to reproduce the behavior:
APPFLOWY_AI_SERVER_HOST=ai
APPFLOWY_AI_SERVER_PORT=5001
Expected behavior The request is successfully handled by OpenAI
Screenshots
Desktop (please complete the following information):
Just to check: is the AI service running? In addition, is APPFLOWY_AI_OPENAI_API_KEY set?
Describe the bug After 0.6.2 of AppFlowy resolved the issue of stuck AI requests I am now at the stage I can test the AI server of AppFlowy Cloud. When doing an AI request in AppFlowy I receive following error:
To Reproduce Steps to reproduce the behavior:
APPFLOWY_AI_SERVER_HOST=ai
andAPPFLOWY_AI_SERVER_PORT=5001
Expected behavior The request is successfully handled by OpenAI
Screenshots![image](https://github.com/AppFlowy-IO/AppFlowy-Cloud/assets/2744377/acebe371-a9a7-4507-9028-a86ad64b0242)
Desktop (please complete the following information):
Additional context