Skip to content

Commit

Permalink
rollback ignore in type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
eadm committed Oct 16, 2024
1 parent c748678 commit 89b7bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slack_bot/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ def make_ai_response( # noqa: PLR0915
completion = client.chat.completions.create(
model=model, messages=messages # type: ignore # noqa: PGH003
)
response_text = completion.choices[0].message.content
response_text = completion.choices[0].message.content # type: ignore # noqa: PGH003 E501

logger.info("Dassy response: %s", response_text)
app.client.chat_update(
Expand Down

0 comments on commit 89b7bb8

Please sign in to comment.