Skip to content

Update installation script to show API key link and use current endpoint#20

Merged
hessius merged 3 commits intomainfrom
copilot/improve-installation-script
Jan 9, 2026
Merged

Update installation script to show API key link and use current endpoint#20
hessius merged 3 commits intomainfrom
copilot/improve-installation-script

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 9, 2026

The installation script needed to display the Google AI Studio URL when prompting for API keys, and the post-installation test command referenced a deprecated endpoint.

Changes

  • Display API key URL: Echo https://aistudio.google.com/app/api-keys before prompting for Gemini API key
  • Update test endpoint: Changed post-installation curl example from /create_profile to /analyze_and_profile
  • Correct URL path: Fixed /app/apikey/app/api-keys in all references

Before:

# --- Gemini API Key ---
# Get your free API key at: https://aistudio.google.com/app/apikey
read -r -p "Enter your Google Gemini API Key: " GEMINI_KEY

After:

# --- Gemini API Key ---
# Get your free API key at: https://aistudio.google.com/app/api-keys
echo "Get your free API key at: https://aistudio.google.com/app/api-keys"
read -r -p "Enter your Google Gemini API Key: " GEMINI_KEY

Test command updated:

curl -X POST -F 'coffee_info=System Test' -F 'user_prefs=Default' \
  http://$PI_IP:8000/analyze_and_profile

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Installation script improvements</issue_title>
<issue_description>- When requesting Gemini API key the script should also show the link to Google AI Studio where you can get your key: https://aistudio.google.com/app/api-keys

  • after finishing the installation the post script installation message detailing how to test this in the terminal should use the updated endpoint analyze_and_profile</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits January 9, 2026 22:44
…_profile endpoint

Co-authored-by: hessius <1499030+hessius@users.noreply.github.com>
Co-authored-by: hessius <1499030+hessius@users.noreply.github.com>
Copilot AI changed the title [WIP] Update installation script for API key retrieval and testing Update installation script to show API key link and use current endpoint Jan 9, 2026
Copilot AI requested a review from hessius January 9, 2026 22:46
@hessius hessius marked this pull request as ready for review January 9, 2026 23:34
@hessius hessius merged commit 4a6ce4b into main Jan 9, 2026
4 checks passed
@hessius hessius deleted the copilot/improve-installation-script branch January 9, 2026 23:34
hessius added a commit that referenced this pull request Jan 22, 2026
Update installation script to show API key link and use current endpoint
hessius added a commit that referenced this pull request Mar 18, 2026
Comprehensive sweep of all user-facing error/failure messages across
15+ components and hooks. Added ~35 new error translation keys to all
6 locales (en/sv/de/es/fr/it).

Also addresses PR #285 review comments:
- #16: Added i18n exemption comment for SHOT_QUOTES (cultural refs)
- #19: Added per-item dict validation in apply-recommendations endpoint
- #20: Removed unreachable dead branch in VariableAdjustPanel
- #22: Replaced hardcoded ' failed' concat with dedicated i18n key
- #23: Replaced hardcoded 'Failed to apply recommendations' with i18n

Files changed: ExpertAnalysisView, RecommendationSelectionDialog,
FindSimilarOverlay, ProfileRecommendations, ProfileCatalogueView,
ProfileImportDialog, SyncReport, SettingsView, RunShotView,
ShotAnalysisView, PourOverView, VariableAdjustPanel, SearchingLoader,
useHistory, useShotHistory, useUpdateStatus, useUpdateTrigger,
profiles.py, + all 6 locale translation.json files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
hessius added a commit that referenced this pull request Mar 25, 2026
Comprehensive sweep of all user-facing error/failure messages across
15+ components and hooks. Added ~35 new error translation keys to all
6 locales (en/sv/de/es/fr/it).

Also addresses PR #285 review comments:
- #16: Added i18n exemption comment for SHOT_QUOTES (cultural refs)
- #19: Added per-item dict validation in apply-recommendations endpoint
- #20: Removed unreachable dead branch in VariableAdjustPanel
- #22: Replaced hardcoded ' failed' concat with dedicated i18n key
- #23: Replaced hardcoded 'Failed to apply recommendations' with i18n

Files changed: ExpertAnalysisView, RecommendationSelectionDialog,
FindSimilarOverlay, ProfileRecommendations, ProfileCatalogueView,
ProfileImportDialog, SyncReport, SettingsView, RunShotView,
ShotAnalysisView, PourOverView, VariableAdjustPanel, SearchingLoader,
useHistory, useShotHistory, useUpdateStatus, useUpdateTrigger,
profiles.py, + all 6 locale translation.json files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

Installation script improvements

2 participants