runtime error

Exit code: 1. Reason: hon3.10/site-packages/langsmith/run_helpers.py", line 576, in wrapper raise e File "/usr/local/lib/python3.10/site-packages/langsmith/run_helpers.py", line 573, in wrapper function_result = run_container["context"].run(func, *args, **kwargs) File "/home/user/app/app.py", line 464, in respond response = model_response(output_text) File "/home/user/app/app.py", line 437, in model_response response = model.generate_content(text) File "/usr/local/lib/python3.10/site-packages/google/generativeai/generative_models.py", line 331, in generate_content response = self._client.generate_content( File "/usr/local/lib/python3.10/site-packages/google/ai/generativelanguage_v1beta/services/generative_service/client.py", line 827, in generate_content response = rpc( File "/usr/local/lib/python3.10/site-packages/google/api_core/gapic_v1/method.py", line 131, in __call__ return wrapped_func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/google/api_core/retry/retry_unary.py", line 293, in retry_wrapped_func return retry_target( File "/usr/local/lib/python3.10/site-packages/google/api_core/retry/retry_unary.py", line 153, in retry_target _retry_error_helper( File "/usr/local/lib/python3.10/site-packages/google/api_core/retry/retry_base.py", line 212, in _retry_error_helper raise final_exc from source_exc File "/usr/local/lib/python3.10/site-packages/google/api_core/retry/retry_unary.py", line 144, in retry_target result = target() File "/usr/local/lib/python3.10/site-packages/google/api_core/timeout.py", line 120, in func_with_timeout return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/google/api_core/grpc_helpers.py", line 78, in error_remapped_callable raise exceptions.from_grpc_error(exc) from exc google.api_core.exceptions.InvalidArgument: 400 API key not valid. Please pass a valid API key. [reason: "API_KEY_INVALID" domain: "googleapis.com" metadata { key: "service" value: "generativelanguage.googleapis.com" } ]

Container logs:

Fetching error logs...