kalibr 1.1.2a0__tar.gz → 1.1.3a0__tar.gz
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.
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/PKG-INFO +7 -7
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/README.md +2 -2
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/__init__.py +9 -51
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/cli/capsule_cmd.py +2 -2
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/cli/run.py +1 -1
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/client.py +1 -1
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/middleware/auto_tracer.py +1 -1
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/simple_tracer.py +2 -2
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/utils.py +2 -2
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr.egg-info/PKG-INFO +7 -7
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr_crewai/callbacks.py +2 -2
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr_crewai/instrumentor.py +1 -1
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr_langchain/async_callback.py +1 -1
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr_langchain/callback.py +1 -1
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr_openai_agents/processor.py +1 -1
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/pyproject.toml +5 -5
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/LICENSE +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/__main__.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/capsule_middleware.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/cli/__init__.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/cli/deploy_cmd.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/cli/main.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/cli/serve.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/collector.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/context.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/cost_adapter.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/decorators.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/instrumentation/__init__.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/instrumentation/anthropic_instr.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/instrumentation/base.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/instrumentation/google_instr.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/instrumentation/openai_instr.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/instrumentation/registry.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/kalibr.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/kalibr_app.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/middleware/__init__.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/models.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/redaction.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/schemas.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/tokens.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/trace_capsule.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/trace_models.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/tracer.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr/types.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr.egg-info/SOURCES.txt +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr.egg-info/dependency_links.txt +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr.egg-info/entry_points.txt +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr.egg-info/requires.txt +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr.egg-info/top_level.txt +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr_crewai/__init__.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr_langchain/__init__.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/kalibr_openai_agents/__init__.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/setup.cfg +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/tests/test_capsule_builder.py +0 -0
- {kalibr-1.1.2a0 → kalibr-1.1.3a0}/tests/test_instrumentation.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kalibr
|
|
3
|
-
Version: 1.1.
|
|
4
|
-
Summary: Unified LLM Observability & Multi-Model AI Integration Framework - Deploy to GPT, Claude, Gemini, Copilot with full telemetry
|
|
3
|
+
Version: 1.1.3a0
|
|
4
|
+
Summary: Unified LLM Observability & Multi-Model AI Integration Framework - Deploy to GPT, Claude, Gemini, Copilot with full telemetry.
|
|
5
5
|
Author-email: Kalibr Team <team@kalibr.dev>
|
|
6
6
|
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/kalibr-
|
|
7
|
+
Project-URL: Homepage, https://github.com/kalibr-ai/kalibr-sdk-python
|
|
8
8
|
Project-URL: Documentation, https://docs.kalibr.systems
|
|
9
|
-
Project-URL: Repository, https://github.com/kalibr-
|
|
10
|
-
Project-URL: Issues, https://github.com/kalibr-
|
|
9
|
+
Project-URL: Repository, https://github.com/kalibr-ai/kalibr-sdk-python
|
|
10
|
+
Project-URL: Issues, https://github.com/kalibr-ai/kalibr-sdk-python/issues
|
|
11
11
|
Keywords: ai,mcp,gpt,claude,gemini,copilot,openai,anthropic,google,microsoft,observability,telemetry,tracing,llm,schema-generation,api,multi-model,langchain,crewai
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
@@ -207,7 +207,7 @@ See the [`examples/`](./examples) directory for complete examples:
|
|
|
207
207
|
|
|
208
208
|
```bash
|
|
209
209
|
# Clone the repository
|
|
210
|
-
git clone https://github.com/kalibr-
|
|
210
|
+
git clone https://github.com/kalibr-ai/kalibr-sdk-python.git
|
|
211
211
|
cd kalibr-sdk-python
|
|
212
212
|
|
|
213
213
|
# Install in development mode
|
|
@@ -232,5 +232,5 @@ MIT License - see [LICENSE](./LICENSE) for details.
|
|
|
232
232
|
## Links
|
|
233
233
|
|
|
234
234
|
- [Documentation](https://docs.kalibr.systems)
|
|
235
|
-
- [GitHub Issues](https://github.com/kalibr-
|
|
235
|
+
- [GitHub Issues](https://github.com/kalibr-ai/kalibr-sdk-python/issues)
|
|
236
236
|
- [PyPI Package](https://pypi.org/project/kalibr/)
|
|
@@ -139,7 +139,7 @@ See the [`examples/`](./examples) directory for complete examples:
|
|
|
139
139
|
|
|
140
140
|
```bash
|
|
141
141
|
# Clone the repository
|
|
142
|
-
git clone https://github.com/kalibr-
|
|
142
|
+
git clone https://github.com/kalibr-ai/kalibr-sdk-python.git
|
|
143
143
|
cd kalibr-sdk-python
|
|
144
144
|
|
|
145
145
|
# Install in development mode
|
|
@@ -164,5 +164,5 @@ MIT License - see [LICENSE](./LICENSE) for details.
|
|
|
164
164
|
## Links
|
|
165
165
|
|
|
166
166
|
- [Documentation](https://docs.kalibr.systems)
|
|
167
|
-
- [GitHub Issues](https://github.com/kalibr-
|
|
167
|
+
- [GitHub Issues](https://github.com/kalibr-ai/kalibr-sdk-python/issues)
|
|
168
168
|
- [PyPI Package](https://pypi.org/project/kalibr/)
|
|
@@ -1,36 +1,24 @@
|
|
|
1
|
-
"""Kalibr SDK v1.1.0 -
|
|
2
|
-
|
|
3
|
-
This SDK combines:
|
|
4
|
-
1. Full LLM Observability with tracing, cost tracking, and analytics
|
|
5
|
-
2. Multi-Model AI Integration (GPT, Claude, Gemini, Copilot)
|
|
6
|
-
3. One-line deployment with Docker and runtime router
|
|
7
|
-
4. Schema generation for all major AI platforms
|
|
8
|
-
5. **NEW in 1.1.0**: Auto-instrumentation of LLM SDKs (OpenAI, Anthropic, Google)
|
|
1
|
+
"""Kalibr SDK v1.1.0 - LLM Observability & Tracing Framework
|
|
9
2
|
|
|
10
3
|
Features:
|
|
11
4
|
- **Auto-Instrumentation**: Zero-config tracing of OpenAI, Anthropic, Google SDK calls
|
|
12
5
|
- **OpenTelemetry**: OTel-compatible spans with OTLP export
|
|
13
6
|
- **Tracing**: Complete telemetry with @trace decorator
|
|
14
7
|
- **Cost Tracking**: Multi-vendor cost calculation (OpenAI, Anthropic, etc.)
|
|
15
|
-
- **Deployment**: One-command deployment to Fly.io, Render, or local
|
|
16
|
-
- **Schema Generation**: Auto-generate schemas for GPT Actions, Claude MCP, Gemini, Copilot
|
|
17
8
|
- **Error Handling**: Automatic error capture with stack traces
|
|
18
9
|
- **Analytics**: ClickHouse-backed analytics and alerting
|
|
19
10
|
|
|
20
|
-
Usage - Auto-Instrumentation
|
|
21
|
-
from kalibr import
|
|
11
|
+
Usage - Auto-Instrumentation:
|
|
12
|
+
from kalibr import auto_instrument
|
|
22
13
|
import openai # Automatically instrumented!
|
|
23
14
|
|
|
24
|
-
|
|
15
|
+
auto_instrument(["openai", "anthropic", "google"])
|
|
25
16
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
messages=[{"role": "user", "content": message}]
|
|
32
|
-
)
|
|
33
|
-
return response.choices[0].message.content
|
|
17
|
+
# All LLM calls are now traced automatically
|
|
18
|
+
response = openai.chat.completions.create(
|
|
19
|
+
model="gpt-4",
|
|
20
|
+
messages=[{"role": "user", "content": "Hello!"}]
|
|
21
|
+
)
|
|
34
22
|
|
|
35
23
|
Usage - Manual Tracing:
|
|
36
24
|
from kalibr import trace
|
|
@@ -44,8 +32,6 @@ Usage - Manual Tracing:
|
|
|
44
32
|
return response
|
|
45
33
|
|
|
46
34
|
CLI Usage:
|
|
47
|
-
kalibr serve my_app.py # Run locally
|
|
48
|
-
kalibr deploy my_app.py --runtime fly # Deploy to Fly.io
|
|
49
35
|
kalibr run my_app.py # Run with auto-tracing
|
|
50
36
|
kalibr version # Show version
|
|
51
37
|
"""
|
|
@@ -79,23 +65,10 @@ from .cost_adapter import (
|
|
|
79
65
|
)
|
|
80
66
|
from .instrumentation import auto_instrument, get_instrumented_providers
|
|
81
67
|
|
|
82
|
-
# ============================================================================
|
|
83
|
-
# SDK & DEPLOYMENT (from 1.0.30)
|
|
84
|
-
# ============================================================================
|
|
85
|
-
from .kalibr import Kalibr
|
|
86
|
-
from .kalibr_app import KalibrApp
|
|
87
68
|
from .models import EventData, TraceConfig
|
|
88
|
-
from .schemas import (
|
|
89
|
-
generate_copilot_schema,
|
|
90
|
-
generate_gemini_schema,
|
|
91
|
-
generate_mcp_schema,
|
|
92
|
-
get_base_url,
|
|
93
|
-
get_supported_models,
|
|
94
|
-
)
|
|
95
69
|
from .simple_tracer import trace
|
|
96
70
|
from .trace_capsule import TraceCapsule, get_or_create_capsule
|
|
97
71
|
from .tracer import SpanContext, Tracer
|
|
98
|
-
from .types import FileUpload, Session
|
|
99
72
|
from .utils import load_config_from_env
|
|
100
73
|
|
|
101
74
|
if os.getenv("KALIBR_AUTO_INSTRUMENT", "true").lower() == "true":
|
|
@@ -145,21 +118,6 @@ __all__ = [
|
|
|
145
118
|
# Utils
|
|
146
119
|
"load_config_from_env",
|
|
147
120
|
# ========================================================================
|
|
148
|
-
# SDK & DEPLOYMENT
|
|
149
|
-
# ========================================================================
|
|
150
|
-
# SDK Classes
|
|
151
|
-
"Kalibr",
|
|
152
|
-
"KalibrApp",
|
|
153
|
-
# Types
|
|
154
|
-
"FileUpload",
|
|
155
|
-
"Session",
|
|
156
|
-
# Schema Generation
|
|
157
|
-
"get_base_url",
|
|
158
|
-
"generate_mcp_schema",
|
|
159
|
-
"generate_gemini_schema",
|
|
160
|
-
"generate_copilot_schema",
|
|
161
|
-
"get_supported_models",
|
|
162
|
-
# ========================================================================
|
|
163
121
|
# PHASE 1: SDK INSTRUMENTATION & OPENTELEMETRY (v1.1.0)
|
|
164
122
|
# ========================================================================
|
|
165
123
|
# Auto-instrumentation
|
|
@@ -23,7 +23,7 @@ def capsule(
|
|
|
23
23
|
None,
|
|
24
24
|
"--api-url",
|
|
25
25
|
"-u",
|
|
26
|
-
help="Kalibr API base URL (default: from env KALIBR_API_URL or
|
|
26
|
+
help="Kalibr API base URL (default: from env KALIBR_API_URL or https://api.kalibr.systems)",
|
|
27
27
|
envvar="KALIBR_API_URL",
|
|
28
28
|
),
|
|
29
29
|
output: Optional[Path] = typer.Option(
|
|
@@ -66,7 +66,7 @@ def capsule(
|
|
|
66
66
|
kalibr capsule abc-123-def -u https://api.kalibr.io
|
|
67
67
|
"""
|
|
68
68
|
# Determine API base URL
|
|
69
|
-
base_url = api_url or "
|
|
69
|
+
base_url = api_url or "https://api.kalibr.systems"
|
|
70
70
|
base_url = base_url.rstrip("/")
|
|
71
71
|
|
|
72
72
|
# Build endpoint URL
|
|
@@ -56,7 +56,7 @@ def run(
|
|
|
56
56
|
raise typer.Exit(1)
|
|
57
57
|
|
|
58
58
|
# Configure backend
|
|
59
|
-
backend = backend_url or os.getenv("KALIBR_BACKEND_URL", "
|
|
59
|
+
backend = backend_url or os.getenv("KALIBR_BACKEND_URL", "https://api.kalibr.systems")
|
|
60
60
|
api_key = os.getenv("KALIBR_API_KEY")
|
|
61
61
|
if not api_key:
|
|
62
62
|
console.print("[yellow]⚠️ KALIBR_API_KEY not set. Set it for trace authentication.[/yellow]")
|
|
@@ -70,7 +70,7 @@ class KalibrClient:
|
|
|
70
70
|
|
|
71
71
|
self.api_key = api_key or env_config.get("auth_token", "")
|
|
72
72
|
self.endpoint = endpoint or env_config.get(
|
|
73
|
-
"api_endpoint", "
|
|
73
|
+
"api_endpoint", "https://api.kalibr.systems/api/v1/traces"
|
|
74
74
|
)
|
|
75
75
|
self.tenant_id = tenant_id or env_config.get("tenant_id", "default")
|
|
76
76
|
self.environment = environment or env_config.get("environment", "prod")
|
|
@@ -54,7 +54,7 @@ class AutoTracerMiddleware(BaseHTTPMiddleware):
|
|
|
54
54
|
|
|
55
55
|
# Collector config
|
|
56
56
|
self.collector_url = collector_url or os.getenv(
|
|
57
|
-
"KALIBR_COLLECTOR_URL", "
|
|
57
|
+
"KALIBR_COLLECTOR_URL", "https://api.kalibr.systems/api/ingest"
|
|
58
58
|
)
|
|
59
59
|
self.api_key = api_key or os.getenv("KALIBR_API_KEY", "")
|
|
60
60
|
self.tenant_id = tenant_id or os.getenv("KALIBR_TENANT_ID", "default")
|
|
@@ -53,7 +53,7 @@ def send_event(payload: dict):
|
|
|
53
53
|
print("[Kalibr SDK] ❌ requests library not available")
|
|
54
54
|
return
|
|
55
55
|
|
|
56
|
-
url = os.getenv("KALIBR_COLLECTOR_URL", "
|
|
56
|
+
url = os.getenv("KALIBR_COLLECTOR_URL", "https://api.kalibr.systems/api/ingest")
|
|
57
57
|
api_key = os.getenv("KALIBR_API_KEY")
|
|
58
58
|
if not api_key:
|
|
59
59
|
print("[Kalibr SDK] ⚠️ KALIBR_API_KEY not set, traces will not be sent")
|
|
@@ -123,7 +123,7 @@ def trace(
|
|
|
123
123
|
parent_span_id = kwargs.pop("parent_span_id", None) # None or base62 string
|
|
124
124
|
|
|
125
125
|
# Load environment config
|
|
126
|
-
tenant_id = os.getenv("KALIBR_TENANT_ID", "
|
|
126
|
+
tenant_id = os.getenv("KALIBR_TENANT_ID", "default")
|
|
127
127
|
workflow_id = os.getenv("KALIBR_WORKFLOW_ID", "multi_agent_demo")
|
|
128
128
|
sandbox_id = os.getenv("SANDBOX_ID", "vercel_vm_001")
|
|
129
129
|
runtime_env = os.getenv("RUNTIME_ENV", "vercel_vm")
|
|
@@ -38,8 +38,8 @@ def load_config_from_env() -> Dict[str, str]:
|
|
|
38
38
|
"workflow_id": os.getenv("KALIBR_WORKFLOW_ID", "default-workflow"),
|
|
39
39
|
"sandbox_id": os.getenv("SANDBOX_ID", "local"),
|
|
40
40
|
"runtime_env": os.getenv("RUNTIME_ENV", "local"),
|
|
41
|
-
"api_endpoint": os.getenv("KALIBR_API_ENDPOINT", "
|
|
42
|
-
"collector_url": os.getenv("KALIBR_COLLECTOR_URL", "
|
|
41
|
+
"api_endpoint": os.getenv("KALIBR_API_ENDPOINT", "https://api.kalibr.systems/api/v1/traces"),
|
|
42
|
+
"collector_url": os.getenv("KALIBR_COLLECTOR_URL", "https://api.kalibr.systems/api/ingest"),
|
|
43
43
|
}
|
|
44
44
|
return config
|
|
45
45
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kalibr
|
|
3
|
-
Version: 1.1.
|
|
4
|
-
Summary: Unified LLM Observability & Multi-Model AI Integration Framework - Deploy to GPT, Claude, Gemini, Copilot with full telemetry
|
|
3
|
+
Version: 1.1.3a0
|
|
4
|
+
Summary: Unified LLM Observability & Multi-Model AI Integration Framework - Deploy to GPT, Claude, Gemini, Copilot with full telemetry.
|
|
5
5
|
Author-email: Kalibr Team <team@kalibr.dev>
|
|
6
6
|
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/kalibr-
|
|
7
|
+
Project-URL: Homepage, https://github.com/kalibr-ai/kalibr-sdk-python
|
|
8
8
|
Project-URL: Documentation, https://docs.kalibr.systems
|
|
9
|
-
Project-URL: Repository, https://github.com/kalibr-
|
|
10
|
-
Project-URL: Issues, https://github.com/kalibr-
|
|
9
|
+
Project-URL: Repository, https://github.com/kalibr-ai/kalibr-sdk-python
|
|
10
|
+
Project-URL: Issues, https://github.com/kalibr-ai/kalibr-sdk-python/issues
|
|
11
11
|
Keywords: ai,mcp,gpt,claude,gemini,copilot,openai,anthropic,google,microsoft,observability,telemetry,tracing,llm,schema-generation,api,multi-model,langchain,crewai
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
@@ -207,7 +207,7 @@ See the [`examples/`](./examples) directory for complete examples:
|
|
|
207
207
|
|
|
208
208
|
```bash
|
|
209
209
|
# Clone the repository
|
|
210
|
-
git clone https://github.com/kalibr-
|
|
210
|
+
git clone https://github.com/kalibr-ai/kalibr-sdk-python.git
|
|
211
211
|
cd kalibr-sdk-python
|
|
212
212
|
|
|
213
213
|
# Install in development mode
|
|
@@ -232,5 +232,5 @@ MIT License - see [LICENSE](./LICENSE) for details.
|
|
|
232
232
|
## Links
|
|
233
233
|
|
|
234
234
|
- [Documentation](https://docs.kalibr.systems)
|
|
235
|
-
- [GitHub Issues](https://github.com/kalibr-
|
|
235
|
+
- [GitHub Issues](https://github.com/kalibr-ai/kalibr-sdk-python/issues)
|
|
236
236
|
- [PyPI Package](https://pypi.org/project/kalibr/)
|
|
@@ -225,7 +225,7 @@ class KalibrAgentCallback:
|
|
|
225
225
|
self.api_key = api_key or os.getenv("KALIBR_API_KEY", "")
|
|
226
226
|
self.endpoint = endpoint or os.getenv(
|
|
227
227
|
"KALIBR_ENDPOINT",
|
|
228
|
-
os.getenv("KALIBR_API_ENDPOINT", "
|
|
228
|
+
os.getenv("KALIBR_API_ENDPOINT", "https://api.kalibr.systems/api/v1/traces")
|
|
229
229
|
)
|
|
230
230
|
self.tenant_id = tenant_id or os.getenv("KALIBR_TENANT_ID", "default")
|
|
231
231
|
self.environment = environment or os.getenv("KALIBR_ENVIRONMENT", "prod")
|
|
@@ -403,7 +403,7 @@ class KalibrTaskCallback:
|
|
|
403
403
|
self.api_key = api_key or os.getenv("KALIBR_API_KEY", "")
|
|
404
404
|
self.endpoint = endpoint or os.getenv(
|
|
405
405
|
"KALIBR_ENDPOINT",
|
|
406
|
-
os.getenv("KALIBR_API_ENDPOINT", "
|
|
406
|
+
os.getenv("KALIBR_API_ENDPOINT", "https://api.kalibr.systems/api/v1/traces")
|
|
407
407
|
)
|
|
408
408
|
self.tenant_id = tenant_id or os.getenv("KALIBR_TENANT_ID", "default")
|
|
409
409
|
self.environment = environment or os.getenv("KALIBR_ENVIRONMENT", "prod")
|
|
@@ -66,7 +66,7 @@ class KalibrCrewAIInstrumentor:
|
|
|
66
66
|
self.api_key = api_key or os.getenv("KALIBR_API_KEY", "")
|
|
67
67
|
self.endpoint = endpoint or os.getenv(
|
|
68
68
|
"KALIBR_ENDPOINT",
|
|
69
|
-
os.getenv("KALIBR_API_ENDPOINT", "
|
|
69
|
+
os.getenv("KALIBR_API_ENDPOINT", "https://api.kalibr.systems/api/v1/traces")
|
|
70
70
|
)
|
|
71
71
|
self.tenant_id = tenant_id or os.getenv("KALIBR_TENANT_ID", "default")
|
|
72
72
|
self.environment = environment or os.getenv("KALIBR_ENVIRONMENT", "prod")
|
|
@@ -65,7 +65,7 @@ class AsyncKalibrCallbackHandler(AsyncCallbackHandler):
|
|
|
65
65
|
self.api_key = api_key or os.getenv("KALIBR_API_KEY", "")
|
|
66
66
|
self.endpoint = endpoint or os.getenv(
|
|
67
67
|
"KALIBR_ENDPOINT",
|
|
68
|
-
os.getenv("KALIBR_API_ENDPOINT", "
|
|
68
|
+
os.getenv("KALIBR_API_ENDPOINT", "https://api.kalibr.systems/api/v1/traces")
|
|
69
69
|
)
|
|
70
70
|
self.tenant_id = tenant_id or os.getenv("KALIBR_TENANT_ID", "default")
|
|
71
71
|
self.environment = environment or os.getenv("KALIBR_ENVIRONMENT", "prod")
|
|
@@ -202,7 +202,7 @@ class KalibrCallbackHandler(BaseCallbackHandler):
|
|
|
202
202
|
self.api_key = api_key or os.getenv("KALIBR_API_KEY", "")
|
|
203
203
|
self.endpoint = endpoint or os.getenv(
|
|
204
204
|
"KALIBR_ENDPOINT",
|
|
205
|
-
os.getenv("KALIBR_API_ENDPOINT", "
|
|
205
|
+
os.getenv("KALIBR_API_ENDPOINT", "https://api.kalibr.systems/api/v1/traces")
|
|
206
206
|
)
|
|
207
207
|
self.tenant_id = tenant_id or os.getenv("KALIBR_TENANT_ID", "default")
|
|
208
208
|
self.environment = environment or os.getenv("KALIBR_ENVIRONMENT", "prod")
|
|
@@ -206,7 +206,7 @@ class KalibrTracingProcessor:
|
|
|
206
206
|
self.api_key = api_key or os.getenv("KALIBR_API_KEY", "")
|
|
207
207
|
self.endpoint = endpoint or os.getenv(
|
|
208
208
|
"KALIBR_ENDPOINT",
|
|
209
|
-
os.getenv("KALIBR_API_ENDPOINT", "
|
|
209
|
+
os.getenv("KALIBR_API_ENDPOINT", "https://api.kalibr.systems/api/v1/traces")
|
|
210
210
|
)
|
|
211
211
|
self.tenant_id = tenant_id or os.getenv("KALIBR_TENANT_ID", "default")
|
|
212
212
|
self.environment = environment or os.getenv("KALIBR_ENVIRONMENT", "prod")
|
|
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "kalibr"
|
|
7
|
-
version = "1.1.
|
|
8
|
-
description = "Unified LLM Observability & Multi-Model AI Integration Framework - Deploy to GPT, Claude, Gemini, Copilot with full telemetry"
|
|
7
|
+
version = "1.1.3-alpha"
|
|
8
|
+
description = "Unified LLM Observability & Multi-Model AI Integration Framework - Deploy to GPT, Claude, Gemini, Copilot with full telemetry."
|
|
9
9
|
authors = [{name = "Kalibr Team", email = "team@kalibr.dev"}]
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.8"
|
|
@@ -94,10 +94,10 @@ dev = [
|
|
|
94
94
|
kalibr = "kalibr.cli.main:app"
|
|
95
95
|
|
|
96
96
|
[project.urls]
|
|
97
|
-
Homepage = "https://github.com/kalibr-
|
|
97
|
+
Homepage = "https://github.com/kalibr-ai/kalibr-sdk-python"
|
|
98
98
|
Documentation = "https://docs.kalibr.systems"
|
|
99
|
-
Repository = "https://github.com/kalibr-
|
|
100
|
-
Issues = "https://github.com/kalibr-
|
|
99
|
+
Repository = "https://github.com/kalibr-ai/kalibr-sdk-python"
|
|
100
|
+
Issues = "https://github.com/kalibr-ai/kalibr-sdk-python/issues"
|
|
101
101
|
|
|
102
102
|
[tool.setuptools.packages.find]
|
|
103
103
|
where = ["."]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|