fix syntax
Browse files
main.py
CHANGED
@@ -159,7 +159,7 @@ async def get_api_key(x_api_key: str = Header(...)) -> str:
|
|
159 |
raise HTTPException(status_code=403, detail="Invalid API key")
|
160 |
return x_api_key
|
161 |
|
162 |
-
async def stream_llm_request(api_key: str, llm_request: Dict[str, str], endpoint_url:str)
|
163 |
"""
|
164 |
Make a streaming request to the LLM service.
|
165 |
"""
|
|
|
159 |
raise HTTPException(status_code=403, detail="Invalid API key")
|
160 |
return x_api_key
|
161 |
|
162 |
+
async def stream_llm_request(api_key: str, llm_request: Dict[str, str], endpoint_url: str) -> AsyncGenerator[str, None]:
|
163 |
"""
|
164 |
Make a streaming request to the LLM service.
|
165 |
"""
|