Skip to content

Commit

Permalink
Remove needless lines
Browse files Browse the repository at this point in the history
  • Loading branch information
DavdGao committed Nov 5, 2024
1 parent a2079f5 commit 2375a8d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/agentscope/models/dashscope_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ def __init__(
self.generate_args = generate_args or {}

self.api_key = api_key
if self.api_key:
dashscope.api_key = self.api_key
self.max_length = None

def format(
Expand Down

0 comments on commit 2375a8d

Please sign in to comment.