askai-python 0.5.0__py3-none-any.whl → 0.6.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ask_ai/__init__.py CHANGED
@@ -2,7 +2,7 @@
2
2
  ask-ai: A minimal Python SDK to switch between LLM providers in one line.
3
3
  """
4
4
 
5
- __version__ = "0.5.0"
5
+ __version__ = "0.6.1"
6
6
 
7
7
  from .base import Response
8
8
  from .capabilities import Capabilities
@@ -17,6 +17,7 @@ from .exceptions import (
17
17
  MediaSecurityError,
18
18
  MediaTypeNotSupportedError,
19
19
  ProviderAuthError,
20
+ ProviderConnectionError,
20
21
  ProviderError,
21
22
  ProviderInvalidRequestError,
22
23
  ProviderRateLimitError,
@@ -28,7 +29,7 @@ from .exceptions import (
28
29
  from .media import AudioObject, ImageObject
29
30
  from .media_security import MediaPolicy, download_media
30
31
  from .observability import Observability, ResponseMetadata, Usage
31
- from .providers import Anthropic, Azure, Google, Groq, OpenAI, OpenRouter
32
+ from .providers import Anthropic, Azure, Google, Groq, OpenAI, OpenAICompatibleProvider, OpenRouter
32
33
  from .router import Router
33
34
  from .session import ConversationSession
34
35
  from .structured import parse_structured
@@ -41,6 +42,7 @@ __all__ = [
41
42
  "Groq",
42
43
  "Azure",
43
44
  "OpenRouter",
45
+ "OpenAICompatibleProvider",
44
46
  # Core
45
47
  "AdvancedConfig",
46
48
  "Response",
@@ -54,6 +56,7 @@ __all__ = [
54
56
  "AskAIParsingError",
55
57
  "ProviderError",
56
58
  "ProviderAuthError",
59
+ "ProviderConnectionError",
57
60
  "ProviderRateLimitError",
58
61
  "ProviderTimeoutError",
59
62
  "ProviderInvalidRequestError",