AI4Finance-Foundation / AI4Finance-Foundation/FinRobot

Unable to use local models for agents - OpenAIError: The api_key client option must be set

オープン
#38 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
8k
フォーク
1.4k
PR マージ指標
30日以内にマージされた PR はありません

説明

I am currently facing an issue where I cannot use local models for my agents. Whenever I try to run my application, I receive the following error:

```
OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
```

This issue prevents me from utilizing local models without an OpenAI API key.

Any guidance on how to configure LLMs to work with local models without needing an OpenAI API key would be greatly appreciated.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。