NaturalAgents/NaturalAgents

Improve error catching

オープン

#34 opened on 2024/11/05

 (2 件のコメント) (0 件のリアクション) (1 人の担当者)TypeScript (6 件のフォーク)auto 404
backendenhancementgood first issue

Repository metrics

Stars
 (34 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Current

For the following cases, the agent fails and the environment doesn't restart (the run button is still spinning)

  1. API Key is incorrect and model request fails
  2. If API provider is removed, but models in the recipe file weren't updated

Requirement

Catch such errors; if it is caught, send an error message to the playground with an explainable message. Stop the agent run and reset the environment so that its ready to go again.

コントリビューターガイド