現象
eliza Quick Start をもとに、pnpm startを実行してChatすると以下のエラーが返ってくる。
 ⛔ ERRORS
   API Response: 
   {
      "error": {
          "message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.",
          "type": "invalid_request_error",
          "param": null,
          "code": null
      }
  }
原因
OpenAIのAPIキーが設定されていないため。
対応
OpenAIのAPIキー でAPIキーを発行して、.envの以下を記載する。
OPENAI_API_KEY= <ここにAPIキーを記載>