Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -65,7 +65,7 @@ async def generate_report(request: Request, query: QueryModel):
|
|
65 |
|
66 |
# Combine query with user keywords
|
67 |
if query.internet:
|
68 |
-
search_query = together_response(query_str, model=
|
69 |
print(f"query:{query_str}, formatted query:{search_query}")
|
70 |
|
71 |
# Search for relevant URLs
|
|
|
65 |
|
66 |
# Combine query with user keywords
|
67 |
if query.internet:
|
68 |
+
search_query = together_response(query_str, model=llm_default_small, SysPrompt=sys_prompt_output_format, max_tokens = 25)
|
69 |
print(f"query:{query_str}, formatted query:{search_query}")
|
70 |
|
71 |
# Search for relevant URLs
|