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

How to edit the request body sent by Roo Code to the LLM #1211

Open
DarkShining-Orb opened this issue Feb 26, 2025 · 5 comments
Open

How to edit the request body sent by Roo Code to the LLM #1211

DarkShining-Orb opened this issue Feb 26, 2025 · 5 comments
Labels
bug Something isn't working question Further information is requested

Comments

@DarkShining-Orb
Copy link

Which version of the app are you using?

3.7.5

Which API Provider are you using?

OpenAI Compatible

Which Model are you using?

LLM provided by volcengine, based on deepseek R1

What happened?

I am a novice LLM user. I want to modify the parameters sent by Roo Code to the large model so that we can use the knowledge base function of the Volcano engine for code inference. I would like to ask how to achieve this. Thanks!

Steps to reproduce

Relevant API REQUEST output

Additional context

No response

@DarkShining-Orb DarkShining-Orb added the bug Something isn't working label Feb 26, 2025
@dosubot dosubot bot added the question Further information is requested label Feb 26, 2025
@mrubens
Copy link
Collaborator

mrubens commented Feb 26, 2025

What parameters do you need to send?

@DarkShining-Orb
Copy link
Author

We need to edit the prompt in the request body. Could you please tell me how to do this?

@DarkShining-Orb
Copy link
Author

Our model supports optimizing answers based on different knowledge bases.
But before that, we need to find out which knowledge base we need to use and add it to the prompt.
Searching for a knowledge base is a functional operation.
So we need to generate the prompt through a function. That is, the prompt is dynamically generated.

@DarkShining-Orb
Copy link
Author

DarkShining-Orb commented Feb 27, 2025

What parameters do you need to send?

Could you please tell me which file the code logic for Roo Code to send requests is in?

@LousyBook94
Copy link

a request debugger or logger for this would be great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants