Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/capabilities/image-generation/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "celeste-image-generation"
version = "0.3.6"
version = "0.3.7"
description = "Image generation package for Celeste AI. Unified interface for all providers"
authors = [{name = "Kamilbenkirane", email = "kamil@withceleste.ai"}]
readme = "README.md"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Input and output types for image generation."""

from pydantic import Field

from celeste.artifacts import ImageArtifact
from celeste.io import Chunk, FinishReason, Input, Output, Usage

Expand Down Expand Up @@ -39,7 +41,8 @@ class ImageGenerationUsage(Usage):
class ImageGenerationOutput(Output[ImageArtifact | list[ImageArtifact]]):
"""Output with ImageArtifact content (single or multiple)."""

pass
usage: ImageGenerationUsage = Field(default_factory=ImageGenerationUsage)
finish_reason: ImageGenerationFinishReason | None = None


class ImageGenerationChunk(Chunk[ImageArtifact]):
Expand Down
2 changes: 1 addition & 1 deletion packages/capabilities/speech-generation/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "celeste-speech-generation"
version = "0.3.6"
version = "0.3.7"
description = "Speech generation package for Celeste AI. Unified interface for all providers"
authors = [{name = "Kamilbenkirane", email = "kamil@withceleste.ai"}]
readme = "README.md"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Input and output types for speech generation."""

from pydantic import Field

from celeste.artifacts import AudioArtifact
from celeste.io import Chunk, FinishReason, Input, Output, Usage

Expand All @@ -24,6 +26,9 @@ class SpeechGenerationFinishReason(FinishReason):
class SpeechGenerationOutput(Output[AudioArtifact]):
"""Output with audio artifact content."""

usage: SpeechGenerationUsage = Field(default_factory=SpeechGenerationUsage)
finish_reason: SpeechGenerationFinishReason | None = None


class SpeechGenerationChunk(Chunk[bytes]):
"""Typed chunk for speech generation streaming.
Expand Down
2 changes: 1 addition & 1 deletion packages/capabilities/text-generation/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "celeste-text-generation"
version = "0.3.6"
version = "0.3.7"
description = "Text generation package for Celeste AI. Unified interface for all providers"
authors = [{name = "Kamilbenkirane", email = "kamil@withceleste.ai"}]
readme = "README.md"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Input and output types for text generation."""

from pydantic import Field

from celeste.io import Chunk, FinishReason, Input, Output, Usage


Expand Down Expand Up @@ -35,7 +37,8 @@ class TextGenerationUsage(Usage):
class TextGenerationOutput[Content](Output[Content]):
"""Output with text or structured content."""

pass
usage: TextGenerationUsage = Field(default_factory=TextGenerationUsage)
finish_reason: TextGenerationFinishReason | None = None


class TextGenerationChunk(Chunk[str]):
Expand Down
2 changes: 1 addition & 1 deletion packages/capabilities/video-generation/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "celeste-video-generation"
version = "0.3.6"
version = "0.3.7"
description = "Video generation package for Celeste AI. Unified interface for all providers"
authors = [{name = "Kamilbenkirane", email = "kamil@withceleste.ai"}]
readme = "README.md"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Input and output types for video generation."""

from pydantic import Field

from celeste.artifacts import VideoArtifact
from celeste.io import Input, Output, Usage

Expand All @@ -23,7 +25,7 @@ class VideoGenerationUsage(Usage):
class VideoGenerationOutput(Output[VideoArtifact]):
"""Output with VideoArtifact content."""

pass
usage: VideoGenerationUsage = Field(default_factory=VideoGenerationUsage)


__all__ = [
Expand Down
Loading