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/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.2.1"
version = "0.2.2"
description = "Type-safe image generation for Celeste AI. Unified interface for OpenAI, Google, ByteDance, and more"
authors = [{name = "Kamilbenkirane", email = "kamil@withceleste.ai"}]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion packages/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.2.1"
version = "0.2.2"
description = "Type-safe text generation for Celeste AI. Unified interface for OpenAI, Anthropic, Google, Mistral, Cohere, and more"
authors = [{name = "Kamilbenkirane", email = "kamil@withceleste.ai"}]
readme = "README.md"
Expand Down
19 changes: 19 additions & 0 deletions packages/text-generation/tests/integration_tests/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"""Pytest configuration and fixtures for integration tests."""

from collections.abc import AsyncGenerator

import pytest_asyncio

from celeste.http import close_all_http_clients


@pytest_asyncio.fixture(autouse=True)
async def cleanup_http_clients() -> AsyncGenerator[None, None]:
"""Ensure HTTP clients are closed after each test.

This fixture runs automatically after each test to ensure HTTP clients
are properly closed before pytest-asyncio closes the event loop.
This prevents "Event loop is closed" errors when using pytest-xdist.
"""
yield
await close_all_http_clients()
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "celeste-ai"
version = "0.2.5"
version = "0.2.6"
description = "Open source, type-safe primitives for multi-modal AI. All capabilities, all providers, one interface"
authors = [{name = "Kamilbenkirane", email = "kamil@withceleste.ai"}]
readme = "README.md"
Expand Down Expand Up @@ -33,13 +33,13 @@ Repository = "https://github.com/withceleste/celeste-python"
Issues = "https://github.com/withceleste/celeste-python/issues"

[project.optional-dependencies]
text-generation = ["celeste-text-generation>=0.2.1"]
image-generation = ["celeste-image-generation>=0.2.1"]
text-generation = ["celeste-text-generation>=0.2.2"]
image-generation = ["celeste-image-generation>=0.2.2"]
image-intelligence = ["celeste-image-intelligence>=0.2.1"]
speech-generation = ["celeste-speech-generation>=0.2.3"]
all = [
"celeste-text-generation>=0.2.1",
"celeste-image-generation>=0.2.1",
"celeste-text-generation>=0.2.2",
"celeste-image-generation>=0.2.2",
"celeste-image-intelligence>=0.2.1",
"celeste-speech-generation>=0.2.3",
]
Expand Down
Loading