Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
fix: unintended changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zac-li committed Jun 9, 2023
1 parent bb1c7b8 commit 284fc12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lcserve/backend/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import shutil
import sys
import time
import uuid
from enum import Enum
from functools import cached_property
from importlib import import_module
Expand Down Expand Up @@ -1098,7 +1099,6 @@ def __init__(
self.app = app
self.duration_counter = duration_counter
self.request_counter = request_counter

# TODO: figure out solution for static assets
self.skip_routes = [
'/docs',
Expand Down
4 changes: 1 addition & 3 deletions lcserve/backend/langchain_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
from opentelemetry.trace import Span, Tracer, set_span_in_context
from pydantic import BaseModel, ValidationError

_span_map = {}


class TracingCallbackHandler(BaseCallbackHandler):
def __init__(self, tracer: "Tracer", parent_span: "Span"):
def __init__(self, tracer: Tracer, parent_span: Span):
super().__init__()
self.tracer = tracer
self.parent_span = parent_span
Expand Down

0 comments on commit 284fc12

Please sign in to comment.