Skip to content

Add tool call to agent and compressible agent #1024

@yiranwu0

Description

@yiranwu0

Is your feature request related to a problem? Please describe.

Support the latest tool call functionality of openai package.

  1. Changes needed in client.py, conversable_agent.py, add a test of the generate_tool_calls functionality
  2. Adding token count util for too calls and tests. Can be done concurrently.
  3. After 1 and 2, continue the compressible_agent PR

Describe the solution you'd like

No response

Additional context

No response

### Tasks
- [ ] #974
- [ ] https://github.com/microsoft/autogen/pull/1004
- [ ] https://github.com/microsoft/autogen/pull/1005

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions