Reload plugins. Notice how the primary functionality works as expected.
In settings, enter an invalid key. Observe that it will work until plugins are reloaded or NVDA itself restarts.
This happens because the GPT -4 vision preview describer does not refresh the API key following instantiation. We need to hold the name of the service in the config and get config[name]["api_key"] with every call to service.process.
To reproduce:
This happens because the GPT -4 vision preview describer does not refresh the API key following instantiation. We need to hold the name of the service in the config and get
config[name]["api_key"]
with every call toservice.process
.