Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -381,6 +381,7 @@ async def search_assistant(query: SearchQueryModel, api_key: str = Depends(verif
|
|
381 |
from pydantic import BaseModel, Field
|
382 |
import yaml
|
383 |
import json
|
|
|
384 |
|
385 |
class FollowupQueryModel(BaseModel):
|
386 |
query: str = Field(..., description="User's query for the followup agent")
|
|
|
381 |
from pydantic import BaseModel, Field
|
382 |
import yaml
|
383 |
import json
|
384 |
+
from yaml.loader import SafeLoader
|
385 |
|
386 |
class FollowupQueryModel(BaseModel):
|
387 |
query: str = Field(..., description="User's query for the followup agent")
|