We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac34be commit 10f6ffaCopy full SHA for 10f6ffa
mellea/backends/watsonx.py
@@ -96,8 +96,10 @@ def __init__(
96
base_url = f"{os.environ.get('WATSONX_URL')}"
97
if api_key is None:
98
api_key = os.environ.get("WATSONX_API_KEY")
99
+
100
if project_id is None:
- self._project_id = os.environ.get("WATSONX_PROJECT_ID")
101
+ project_id = os.environ.get("WATSONX_PROJECT_ID")
102
+ self._project_id = project_id
103
104
self._creds = Credentials(url=base_url, api_key=api_key)
105
self._kwargs = kwargs
0 commit comments