Skip to content

Commit c56f043

Browse files
committed
fixed annotation for chatrequest
1 parent 02591dd commit c56f043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/server/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Dict, List, Optional
1+
from typing import Dict, List, Optional
22

33
from fastapi import FastAPI, HTTPException
44
from pydantic import BaseModel
@@ -14,7 +14,7 @@
1414

1515
class ChatRequest(BaseModel):
1616
message: str
17-
selected_images: Optional[List[Dict[str, Any]]] = []
17+
selected_images: Optional[List[Dict[str, str]]] = []
1818
user_id: Optional[str] = None
1919

2020

0 commit comments

Comments
 (0)