Skip to content

Conversation

@skzhang1
Copy link
Contributor

@skzhang1 skzhang1 commented Nov 9, 2023

Why are these changes needed?

When making a function call in the Azure API, ensure including ‘gpt-35-turbo-0613’ in the Chat_models parameter. Otherwise will encounter an error with the message:"openai.NotFoundError: Error code: 404 - {'error': {'message': 'Unrecognized request argument supplied: functions', 'type': 'invalid_request_error', 'param': None, 'code': None}}"

Related issue number

#51

Checks

@sonichi
Copy link
Contributor

sonichi commented Nov 9, 2023

completion.py is deprecated in #393

@codecov-commenter
Copy link

Codecov Report

Merging #610 (f22c9a3) into main (dfcbea9) will increase coverage by 5.45%.
Report is 2 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #610      +/-   ##
==========================================
+ Coverage   34.04%   39.50%   +5.45%     
==========================================
  Files          25       25              
  Lines        3005     3005              
  Branches      668      668              
==========================================
+ Hits         1023     1187     +164     
+ Misses       1906     1722     -184     
- Partials       76       96      +20     
Flag Coverage Δ
unittests 39.43% <ø> (+5.45%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
autogen/oai/completion.py 15.17% <ø> (ø)

... and 3 files with indirect coverage changes

@skzhang1
Copy link
Contributor Author

completion.py is deprecated in #393

Yes. Close.

@skzhang1 skzhang1 closed this Nov 12, 2023
@skzhang1 skzhang1 deleted the azure-turbo-0613 branch November 25, 2023 02:20
@skzhang1 skzhang1 restored the azure-turbo-0613 branch November 25, 2023 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants