Skip to content

Conversation

@Mmadan128
Copy link

added google_genai_integration.py and modified init file for the same

setup_openai_interceptor,
)
_INTEGRATIONS_AVAILABLE["openai"] = True
except ImportError:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.
setup_genai_interceptor,
)
_INTEGRATIONS_AVAILABLE["genai"] = True
except ImportError:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.
# Wrapper classes not available, that's fine
pass
logger.debug(f"Some integrations not available: {e}")
pass

Check warning

Code scanning / CodeQL

Unnecessary pass Warning

Unnecessary 'pass' statement.
ChatSession.send_message_async = cls._original_methods[
"chat_send_message_async"
]
except (ImportError, AttributeError):

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.
@Boburmirzo
Copy link
Collaborator

added google_genai_integration.py and modified init file for the same

@Mmadan128 Thanks for the contribution! We will review this asap.

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.

2 participants