Giter Club home page Giter Club logo

Comments (7)

sanjay920 avatar sanjay920 commented on August 17, 2024 1

we integrated tools into vllm with function calling models. might be relevant: https://docs.rubra.ai/inference/vllm

from autogen.

marklysze avatar marklysze commented on August 17, 2024 1

I can suggest a couple of approaches:

  • A vLLM client class that can handle this empty tool_calls
  • A change to the existing AutoGen codebase that ignores empty tool_calls

If someone wants to work on a PR that would help.

from autogen.

marklysze avatar marklysze commented on August 17, 2024

Hey @tonyaw, this is a bit tricky in my opinion. I feel that it should return None if there are no tool calls to be made rather than an empty list, []. The finish_reason being stop indicates that it is not suggesting tool calls in this response.

What do you think?

from autogen.

tonyaw avatar tonyaw commented on August 17, 2024

@marklysze , I'm OK with both None and "[]" as long as it is aligned between agent framework(autogen) and LLM inference framework(vllm). :-)
As it follows OpenAI API schema, may I ask if there is some detail requirement from API schema perspective?

from autogen.

tonyaw avatar tonyaw commented on August 17, 2024

I also opened a same ticket to vllm. Let's align with vllm team for an agreement. :-)

from autogen.

tonyaw avatar tonyaw commented on August 17, 2024

@sanjay920,
Thanks for your info!

  1. Is it possible to contribute your code change to vllm git repo? :-)
  2. Have you tried your vllm with autogen?

from autogen.

hopefulPanda88 avatar hopefulPanda88 commented on August 17, 2024

Is there any possible way to bypass this?... This really gives me headache...

from autogen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.