Skip to content
Snippets Groups Projects
Commit f46174a8 authored by Silin's avatar Silin
Browse files

Update dummy_prompt_agent.py

parent f6f32511
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ class DummyPromptAgent(object):
"""
# print(f"{len(test_data)=}, {test_data[0].keys()=}, {len(test_data[-1]['dialogue'])}")
if self.api_usage_count < self.api_limit and not final:
if self.api_usage_count < self.api_limit: # dummy model does not use the label "final", which always uses up two times of API call
self.api_usage_count += 1
response = {
"use_api": True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment