Skip to content

Commit

Permalink
try custom integration
Browse files Browse the repository at this point in the history
  • Loading branch information
yp87 committed Jan 31, 2025
1 parent 2b3e576 commit a3491b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hass/custom_components/gemini_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def setup(hass, config):
"""Service to send prompt and images to gemini."""
api_key = config[DOMAIN][CONF_API_KEY]
gemini_full_url = GEMINI_URL + apiKey
gemini_full_url = GEMINI_URL + api_key

def generate_text(call):
prompt = call.data.get('prompt')
Expand Down

0 comments on commit a3491b3

Please sign in to comment.