Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
taozhiwang committed Aug 2, 2024
1 parent 0a4be0b commit 4af2904
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rdagent/oai/llm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ def __init__( # noqa: C901, PLR0912, PLR0915
self.managed_identity_client_id = self.cfg.managed_identity_client_id

# Priority: chat_api_key/embedding_api_key > openai_api_key > os.environ.get("OPENAI_API_KEY")
# TODO: Simplify the key design. Consider Pandatic
self.chat_api_key = (
chat_api_key
or self.cfg.chat_openai_api_key
Expand Down

0 comments on commit 4af2904

Please sign in to comment.