Skip to content

Commit

Permalink
leave a comment to explain
Browse files Browse the repository at this point in the history
  • Loading branch information
rblakemesser committed Mar 21, 2024
1 parent 73dc569 commit b46d2d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions langdspy/prompt_runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ def _invoke_with_retries(self, chain, input, max_tries=1, config: Optional[Runna
parsed_output[attr_name] = transformed_val

end_time = time.time()

# The model named may be called model_name or model depending on version of langchain_anthropic
try:
model_name = config["llm"].model_name
except AttributeError:
Expand Down

0 comments on commit b46d2d1

Please sign in to comment.