Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Don't send default prompt exec settings to the model #6293

Closed

Conversation

moonbox3
Copy link
Contributor

Motivation and Context

We are currently sending default request params to the model, and this isn't necessary. Only send non-default values.

Description

This PR:

Contribution Checklist

@moonbox3 moonbox3 requested a review from a team as a code owner May 16, 2024 13:50
@markwallace-microsoft markwallace-microsoft added the python Pull requests for the Python Semantic Kernel label May 16, 2024
@markwallace-microsoft
Copy link
Member

Py3.10 Test Coverage

Python 3.10 Test Coverage Report •
FileStmtsMissCoverMissing
semantic_kernel/connectors/ai/open_ai/prompt_execution_settings
   azure_chat_prompt_execution_settings.py63198%96
TOTAL6122105583% 

Python 3.10 Unit Test Overview

Tests Skipped Failures Errors Time
1310 1 💤 0 ❌ 0 🔥 15.936s ⏱️

@moonbox3
Copy link
Contributor Author

Going to handle this change in a different PR. Closing.

@moonbox3 moonbox3 closed this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests for the Python Semantic Kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python: Execution settings should not specify defaults for settings that the AI Service has a default for.
2 participants