mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
test - logfire
This commit is contained in:
parent
991604986d
commit
0e569bacf7
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ sys.path.insert(0, os.path.abspath("../.."))
|
|||
def test_completion_logfire_logging(stream):
|
||||
from litellm.integrations.opentelemetry import OpenTelemetry, OpenTelemetryConfig
|
||||
|
||||
litellm.success_callback = ["logfire"]
|
||||
litellm.callbacks = ["logfire"]
|
||||
litellm.set_verbose = True
|
||||
messages = [{"role": "user", "content": "what llm are u"}]
|
||||
temperature = 0.3
|
||||
|
|
@ -53,7 +53,7 @@ def test_completion_logfire_logging(stream):
|
|||
async def test_acompletion_logfire_logging(stream):
|
||||
from litellm.integrations.opentelemetry import OpenTelemetry, OpenTelemetryConfig
|
||||
|
||||
litellm.success_callback = ["logfire"]
|
||||
litellm.callbacks = ["logfire"]
|
||||
litellm.set_verbose = True
|
||||
messages = [{"role": "user", "content": "what llm are u"}]
|
||||
temperature = 0.3
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue