Replies: 2 comments 13 replies
-
RAGFlow natively supports OpenAI-compatible API endpoints for agents, so you don't need to build your own intermediate context management if you use the API as documented. If you only get the agent's greeting each time, it's almost always because the client isn't sending the full message history or session/conversation context in each API call. The API expects you to include the entire conversation history (at least one message with the "user" role) in the Check that your requests to If you still see only the greeting, double-check your request structure and authentication token. If you want a minimal working example, let me know! To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
@Hekas1 Could you share your agent's orchestration? BTW, you can wait for 0.20 for the whole Agent module is being redesigned. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use an agent in a third-party interface using API, with the same request and response format as OpenAI API. However, I get the result only when sending a message to the agent, its greeting, and when resending, only the greeting. Do I need to write an intermediate interaction functionality, the entire format does not contain the entire mechanism, do I need to do it myself?
Beta Was this translation helpful? Give feedback.
All reactions