• drbh's avatar
    PR 2634 CI - Fix the tool_choice format for named choice by adapting OpenAIs scheme (#2645) · 5489406c
    drbh authored
    
    
    * add OpenAI like tool_choice for named choice
    
    * add tests
    
    * fix: run linter and bump api docs
    
    * fix: consolidate changes and remove old tool type
    
    * feat: improve, simplify and rename tool choice struct add required support and refactor
    
    * fix: simplify tool choice logic, improve tests, openapi and rust docs
    
    * fix: refactor away prepare_chat_input and improve tool grammar apply control flow
    
    * feat: update docs and add tool choice configuration section
    
    * fix: simplify naming, tool choice default and improve test
    
    * fix: adjust tool choice none logic, add test and small refactors
    
    * fix: add missing snapshot file
    
    * fix: adjust tool choice type in test
    
    * fix: adjust default when json tool choice is
    
    * fix: remove trailing space lint after rebase
    
    * fix: remove mostly mocked unit test
    
    ---------
    Co-authored-by: default avatarLinus Bierhoff <linus.bierhoff@icloud.com>
    5489406c
openapi.json 64 KB