monarch-initiative / ontogpt

LLM-based ontological extraction tools, including SPIRES
https://monarch-initiative.github.io/ontogpt/
BSD 3-Clause "New" or "Revised" License
548 stars 68 forks source link

Make missing API key errors more friendly #368

Open caufieldjh opened 2 months ago

caufieldjh commented 2 months ago

When missing API keys (and especially the Bioportal one), crashes can happen in the middle of operations. If a template requires Bioportal in its annotators, for example, using that template in an extract command will raise an error, but only once the annotator is required. This should instead either: