Update app.py
Browse files
app.py
CHANGED
|
@@ -345,8 +345,8 @@ def collect_basic_info():
|
|
| 345 |
prompt = generate_prompt_func(data_updated)
|
| 346 |
|
| 347 |
# Call the LLM, passing the prompt, current data, and history
|
| 348 |
-
|
| 349 |
-
section_content = call_llm_with_retries(prompt, data_updated, history, section_name)
|
| 350 |
|
| 351 |
# Add the current prompt and response to the history
|
| 352 |
history.append(f"{section_name}: {section_content}")
|
|
|
|
| 345 |
prompt = generate_prompt_func(data_updated)
|
| 346 |
|
| 347 |
# Call the LLM, passing the prompt, current data, and history
|
| 348 |
+
section_content = call_llm(prompt, data, history,section_name)
|
| 349 |
+
#section_content = call_llm_with_retries(prompt, data_updated, history, section_name)
|
| 350 |
|
| 351 |
# Add the current prompt and response to the history
|
| 352 |
history.append(f"{section_name}: {section_content}")
|