Skip to content

Commit

Permalink
fix: supported request without model field
Browse files Browse the repository at this point in the history
  • Loading branch information
adubovik committed Nov 12, 2024
1 parent fd60031 commit ece694f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aidial_adapter_dial/utils/reflection.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ async def call_with_extra_body(
)

arg["extra_body"] = arg.get("extra_body") or {}
arg["model"] = arg.get("model") # model arg is required in AsyncAzureOpenAI

for extra_arg in extra_args:
arg["extra_body"][extra_arg] = arg[extra_arg]
Expand Down

0 comments on commit ece694f

Please sign in to comment.