-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Modernize type hints and clean up unused code #1928
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
Conversation
Modernize type hints and clean up unused code
@microsoft-github-policy-service agree [company="{ShorthillsAI}"] |
Support Gemini models in addition to OpenAI and AzureOpenAI
@microsoft-github-policy-service agree company="ShorthillsAI" |
Hi! Thanks for your submission! I see your PR is doing two different things, one not necessarily aligned to the PR message. Thanks! |
@@ -12,6 +12,11 @@ | |||
create_openai_client, | |||
create_openai_embeddings_llm, | |||
) | |||
from fnllm.gemini import ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intended to be included in your PR?
Gemini support is not available in fnllm, this will just break
Cancelling the PR, Will raise after some required changes. |
Description
Modernized type hints using Python 3.10+ syntax (e.g., list[str] instead of List[str]) and removed unused imports, variables, and functions to improve code clarity and maintainability.
Related Issues
[Reference any related issues or tasks that this pull request addresses.]
Proposed Changes
[List the specific changes made in this pull request.]
Checklist
Additional Notes
[Add any additional notes or context that may be helpful for the reviewer(s).]