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]: Support api_call and integration tools in format_tool #798

Open
1 of 3 tasks
creatorrr opened this issue Nov 1, 2024 · 0 comments
Open
1 of 3 tasks

[Bug]: Support api_call and integration tools in format_tool #798

creatorrr opened this issue Nov 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@creatorrr
Copy link
Contributor

📜 Description

  • For api_call tools, simply set the parameters to tool.schema
  • For integrations, you need to get the correct arguments model from autogen/Tools.py based on the provider and method. Then convert to json schema and set parameters to it

relevant links

https://github.com/julep-ai/julep/blob/dev/agents-api/agents_api/activities/task_steps/prompt_step.py#L70

https://github.com/julep-ai/julep/blob/dev/agents-api/agents_api/autogen/Tools.py#L37

https://github.com/julep-ai/julep/blob/dev/agents-api/agents_api/autogen/Tools.py#L312

👟 Reproduction steps

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue
@creatorrr creatorrr added the bug Something isn't working label Nov 1, 2024
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

2 participants