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

[Bug]: several api bugs #3585

Open
1 task done
zydmtaichi opened this issue Nov 22, 2024 · 0 comments
Open
1 task done

[Bug]: several api bugs #3585

zydmtaichi opened this issue Nov 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zydmtaichi
Copy link

Is there an existing issue for the same bug?

  • I have checked the existing issues.

RAGFlow workspace code commit ID

1d0a560

RAGFlow image version

dev

Other environment information

os type: ubuntu 22.04

Actual behavior

1.the api path should /v1/api while the path that doc describes starts with /api/v1
2.the api in code like api_app.py is /completion while the api in doc is /completions
3.the agent api is invalid (like /api/v1/agents/{agent_id}/completions)

Expected behavior

No response

Steps to reproduce

1.refer [doc](https://ragflow.io/docs/dev/http_api_reference) and the api define code like `api_app.py`
2.use postman to send the post request to `/api/v1/agents/{agent_id}/completions` api

Additional information

No response

@zydmtaichi zydmtaichi added the bug Something isn't working label Nov 22, 2024
@KevinHuSh KevinHuSh mentioned this issue Nov 22, 2024
1 task
KevinHuSh added a commit that referenced this issue Nov 22, 2024
### What problem does this PR solve?

#3585
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant