Skip to content

Commit af78485

Browse files
committed
delete some annotations
1 parent 1d11f38 commit af78485

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/getStreamInfo.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,6 @@ async def request(val: List[dict[str, str]]) -> AsyncGenerator[dict, None]:
3333
"n": 1,
3434
"stream": True,
3535
}
36-
# if call_function:
37-
# params["function_call"] = "auto"
38-
# params["function"] = [{"name": "chat_stream",
39-
# "description": "Generate the sql using
40-
# the given question",
41-
# "parameters": {
42-
# "type": "object",
43-
# "properties": {
44-
# "question": {
45-
# "type": "string",
46-
# "description":
47-
# "The paraphrased question"
48-
# },
49-
# },
50-
# "required": ["question"]
51-
# },
52-
# },
53-
# ]
5436
async with AsyncClient() as client:
5537
async with client.stream("POST", url, headers=headers, json=params, timeout=60) as response:
5638
async for line in response.aiter_lines():

0 commit comments

Comments
 (0)