Skip to content

Commit

Permalink
Revert "Filter out cohere's pydantic warning (#1081)" (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
billytrend-cohere authored Sep 5, 2024
1 parent a1ad5b7 commit 21c9d21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions griptape/drivers/prompt/cohere_prompt_driver.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from __future__ import annotations

import warnings
from typing import TYPE_CHECKING, Any

from attrs import Factory, define, field
Expand All @@ -25,9 +24,6 @@
from griptape.tokenizers import BaseTokenizer, CohereTokenizer
from griptape.utils import import_optional_dependency

# TODO Remove once https://github.com/cohere-ai/cohere-python/issues/559 is resolved
warnings.filterwarnings("ignore", module="pydantic")

if TYPE_CHECKING:
from collections.abc import Iterator

Expand Down
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 21c9d21

Please sign in to comment.