Skip to content

Commit

Permalink
Even more feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
collindutter committed Sep 13, 2024
1 parent 4c4e06e commit 23ac812
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion griptape/artifacts/image_artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ImageArtifact(BlobArtifact):
"""Stores image data.
Attributes:
format: The format of the image data.
format: The format of the image data. Used when building the MIME type.
width: The width of the image.
height: The height of the image
"""
Expand Down
4 changes: 2 additions & 2 deletions griptape/common/prompt_stack/contents/text_message_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from attrs import define, field

from griptape.artifacts import BaseArtifact, TextArtifact
from griptape.artifacts import TextArtifact
from griptape.common import BaseDeltaMessageContent, BaseMessageContent, TextDeltaMessageContent

if TYPE_CHECKING:
Expand All @@ -13,7 +13,7 @@

@define
class TextMessageContent(BaseMessageContent):
artifact: BaseArtifact = field(metadata={"serializable": True})
artifact: TextArtifact = field(metadata={"serializable": True})

@classmethod
def from_deltas(cls, deltas: Sequence[BaseDeltaMessageContent]) -> TextMessageContent:
Expand Down

0 comments on commit 23ac812

Please sign in to comment.