Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dashscope/app/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def call( # type: ignore[override]
Defaults to None.
workspace(str, `optional`): Workspace for app completion call
api_key (str, optional): The api api_key, can be None,
if None, will get by default rule(TODO: api key doc).
if None, will get by default rule

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Removing the TODO is a good step, but the description 'if None, will get by default rule' is still ambiguous for the user. To improve clarity, it would be better to either briefly explain the rule or point to the function that implements it.

Suggested change
if None, will get by default rule
if None, it is resolved automatically via dashscope.get_default_api_key().

messages(list): The generation messages.

**kwargs:
Expand Down
Loading