SergeyO7 commited on
Commit
f42b3da
·
verified ·
1 Parent(s): a61cb85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, load_tool, tool
 
2
  # from smolagents.security import E2BSandbox
3
  import datetime
4
  import pytz
@@ -22,7 +23,8 @@ os.environ["OTEL_EXPORTER_OTLP_ENDPOINT"] = "https://cloud.langfuse.com/api/publ
22
  os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"Authorization=Basic {LANGFUSE_AUTH}"
23
 
24
  from opentelemetry.sdk.trace import TracerProvider
25
- from openinference.instrumentation.smolagents import SmolagentsInstrumentor
 
26
  from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
27
  from opentelemetry.sdk.trace.export import SimpleSpanProcessor
28
 
 
1
  from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, load_tool, tool
2
+ import smolagents # Added for aliasing
3
  # from smolagents.security import E2BSandbox
4
  import datetime
5
  import pytz
 
23
  os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"Authorization=Basic {LANGFUSE_AUTH}"
24
 
25
  from opentelemetry.sdk.trace import TracerProvider
26
+ from openinference.instrumentation
27
+ .smolagents import SmolagentsInstrumentor
28
  from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
29
  from opentelemetry.sdk.trace.export import SimpleSpanProcessor
30