github-actions[bot] commited on
Commit
3ec8e7d
Β·
1 Parent(s): 27f8cfc

Sync with https://github.com/mozilla-ai/surf-spot-finder

Browse files
Files changed (1) hide show
  1. services/agent.py +0 -2
services/agent.py CHANGED
@@ -43,7 +43,6 @@ async def display_evaluation_results(result: TraceEvaluationResult):
43
  st.markdown(f"**{percentage:.1f}%**")
44
 
45
 
46
- @st.cache_resource
47
  async def evaluate_agent(
48
  config: Config, agent_trace: AgentTrace
49
  ) -> TraceEvaluationResult:
@@ -146,7 +145,6 @@ async def display_output(agent_trace: AgentTrace, execution_time: float):
146
  )
147
 
148
 
149
- @st.cache_resource
150
  async def run_agent(agent, config) -> tuple[AgentTrace, float]:
151
  st.markdown("#### πŸ” Running Surf Spot Finder with query")
152
 
 
43
  st.markdown(f"**{percentage:.1f}%**")
44
 
45
 
 
46
  async def evaluate_agent(
47
  config: Config, agent_trace: AgentTrace
48
  ) -> TraceEvaluationResult:
 
145
  )
146
 
147
 
 
148
  async def run_agent(agent, config) -> tuple[AgentTrace, float]:
149
  st.markdown("#### πŸ” Running Surf Spot Finder with query")
150