lukmanaj commited on
Commit
f05b52f
·
verified ·
1 Parent(s): 01f06e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ class GeminiModel:
54
  # Return a dictionary that CodeAgent expects
55
  return {"content": response.candidates[0].content.parts[0].text.strip()}
56
  except Exception as e:
57
- return {"content": f"Error during Gemini call: {str(e)}"}"
58
 
59
  # Define BasicAgent properly
60
  class BasicAgent:
 
54
  # Return a dictionary that CodeAgent expects
55
  return {"content": response.candidates[0].content.parts[0].text.strip()}
56
  except Exception as e:
57
+ return {"content": f"Error during Gemini call: {str(e)}"}
58
 
59
  # Define BasicAgent properly
60
  class BasicAgent: