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

Google Gemini - Warning in Log - on MacOS: check_gcp_environment_no_op.cc:29] ALTS: Platforms other than Linux and Windows are not supported #313

Open
jwmatthews opened this issue Aug 22, 2024 · 1 comment
Labels
wontfix This will not be worked on

Comments

@jwmatthews
Copy link
Member

Environment: MacOS arm64

While testing #307 I saw below in logs.

Config loaded: KaiConfig(log_level='info', file_log_level='debug', log_dir='$pwd/logs', demo_mode=False, trace_enabled=True, incident_store=KaiConfigIncidentStore(solution_detectors=<SolutionDetectorKind.NAIVE: 'naive'>, solution_producers=<SolutionProducerKind.TEXT_ONLY: 'text_only'>, args=KaiConfigIncidentStorePostgreSQLArgs(provider=<KaiConfigIncidentStoreProvider.POSTGRESQL: 'postgresql'>, host='127.0.0.1', database='kai', user='kai', password='dog8code', connection_string=None, solution_detection=<SolutionDetectorKind.NAIVE: 'naive'>)), models=KaiConfigModels(provider='ChatGoogleGenerativeAI', args={'model': 'gemini-pro'}, template=None, llama_header=None, llm_retries=5, llm_retry_delay=10.0), solution_consumers=[<SolutionConsumerKind.DIFF_ONLY: 'diff_only'>, <SolutionConsumerKind.LLM_SUMMARY: 'llm_summary'>])
Console logging for 'kai' is set to level 'INFO'
File logging for 'kai' is set to level 'DEBUG' writing to file: '/Users/jmatthews/git/jwmatthews/kai/logs/kai_server.log'
INFO - 2024-08-22 06:37:17,362 - kai.service.kai_application.kai_application - [  kai_application.py:54   -             __init__()] - Tracing enabled.

WARNING: All log messages before absl::InitializeLog() is called are written to STDERR

I0000 00:00:1724323037.369571 86266815 check_gcp_environment_no_op.cc:29] ALTS: Platforms other than Linux and Windows are not supported

Assuming that
langchain-google-genai==1.0.9 from https://github.com/konveyor/kai/pull/307/files#diff-de469cc9cf8992ffaec661b4e087cfded3ec6da722072ec1fdf11f61690fd1b8R27

Is bringing in a dependency that includes this code:
https://github.com/grpc/grpc/blob/master/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc#L29

Functionality for Google Gemini appears to be working for basic workflow of send a request and get a response.
Note, I am NOT seeing cached responses being written to disk, unsure if that could be related to this.

@jwmatthews jwmatthews added the wontfix This will not be worked on label Aug 22, 2024
@jwmatthews
Copy link
Member Author

I am opening this issue primarily for knowledge sharing, at moment I assume this is NOT an issue we will spend time on to address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant