-
Notifications
You must be signed in to change notification settings - Fork 37
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
Feat/agents integration #209
base: main
Are you sure you want to change the base?
Conversation
* chore: added unit tests for core provider. small bugfix on calculate_metrics of provider * added unit tests and docstring for join chunks * added unit tests and docstrings for calculate_cost on provider * added unit tests and docstrings for input_to_string on provider * added unit tests and docstrings for chat and achat * added unit tests and docstrings for chat and achat * chore: cleaned provider unit tests * chore: separated provider tests into different files. fixed some of its tests * chore: linted code * chore: deleted some comments * chore: linted * chore: Added Azure Provider Unit Tests (#176) * chore: added unit tests for azure provider * chore: added more unit tests and docstrings on azure, removed redundant comments * chore: added unit tests for generate client on Azure Provider * chore: separated azure unit tests into separate files. fixed some of its tests. * chore: linted code * chore: new line Signed-off-by: Diogo Goncalves <[email protected]> --------- Signed-off-by: Diogo Goncalves <[email protected]> Co-authored-by: Diogo Goncalves <[email protected]>
* [feat] prompt management * [feat] testing * [feat] only one active prompt
## LLMstudio Version X.X.X ### What was done in this PR: - ... ### How it was tested: - ... ### Additional notes: - Any breaking changes? - Any new dependencies added? - Any performance improvements?
Signed-off-by: Diogo Goncalves <[email protected]>
## LLMstudio Version X.X.X ### What was done in this PR: - Add bedrock agents ### How it was tested: - ... ### Additional notes: - Any breaking changes? - Any new dependencies added? - Any performance improvements?
## LLMstudio Version X.X.X ### What was done in this PR: - ... ### How it was tested: - ... ### Additional notes: - Any breaking changes? - Any new dependencies added? - Any performance improvements?
## LLMstudio Version X.X.X ### What was done in this PR: - ... ### How it was tested: - ... ### Additional notes: - Any breaking changes? - Any new dependencies added? - Any performance improvements?
|
||
def run_agent( | ||
self, | ||
openai_agent: OpenAIAgent, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of calling the param 'openai_agent' it should be just 'agent', to use the 2 agents interchangeably
also we should discuss between having it like this (with the 2 params) or wrapping it in a RunAgentRequest, which is what I did for bedrock
|
||
return openai_run | ||
|
||
def retrieve_result(self, openai_run: OpenAIRun) -> OpenAIResult: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of 'openai_run' , just 'run'
LLMstudio Version X.X.X
What was done in this PR:
How it was tested:
Additional notes: