Skip to content

Commit

Permalink
chore: removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
adubovik committed Aug 1, 2024
1 parent d711768 commit 9d1cddf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions aidial_adapter_dial/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from aidial_sdk.telemetry.types import TelemetryConfig
from fastapi import FastAPI, Request
from fastapi.responses import StreamingResponse
from openai import AsyncAzureOpenAI, AsyncStream, BaseModel, Timeout
from openai import AsyncAzureOpenAI, AsyncStream, BaseModel
from openai.types import CreateEmbeddingResponse
from openai.types.chat.chat_completion import ChatCompletion
from openai.types.chat.chat_completion_chunk import ChatCompletionChunk
Expand Down Expand Up @@ -42,8 +42,6 @@

LOCAL_DIAL_URL = get_env("DIAL_URL")

DEFAULT_TIMEOUT = Timeout(600, connect=10)


def get_hostname(url: str) -> str:
parsed_url = urlparse(url)
Expand Down

0 comments on commit 9d1cddf

Please sign in to comment.