Skip to content

Make Translator ApiKey take values similar to ChatBot#3760

Open
ewpatton wants to merge 1 commit intomit-cml:masterfrom
ewpatton:hotfix/translator-apikey-fix
Open

Make Translator ApiKey take values similar to ChatBot#3760
ewpatton wants to merge 1 commit intomit-cml:masterfrom
ewpatton:hotfix/translator-apikey-fix

Conversation

@ewpatton
Copy link
Member

@ewpatton ewpatton commented Feb 5, 2026

Change-Id: Iffcca9932b90d4c04a76d2a5449ee8a1dcf11928

General items:

For all other changes:

  • I branched from master
  • My pull request has master as the base

What does this PR accomplish?

Fixes an issue we discovered where the ApiKey property cannot be changed to anything other than the value set by the App Inventor server. This prevents testing in the dev environment by copy-pasting a valid ApiKey from the Translator component on ai2. The logic is changed to match MockChatBot.

Change-Id: Iffcca9932b90d4c04a76d2a5449ee8a1dcf11928
Copy link
Contributor

@SusanRatiLane SusanRatiLane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In testing, the API key is still reloaded from server (and replaced with an error string on localhost) when the project is reloaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants