bitcloud2's picture
cleaning final answer
d35ad8f

A newer version of the Gradio SDK is available: 5.29.0

Upgrade

[Unreleased]

Added

  • Moved agent instantiation into a separate instantiate_agent function in app_dev.py.
  • Extracted question fetching logic into a new fetch_questions function in app_dev.py.
  • Created my_agent.py for custom agent implementation.
  • Added GeminiApiModel for interacting with Google Gemini API.
  • Refactored SmolAgent in my_agent.py to use GeminiApiModel.
  • Removed standalone call_gemini_api function from my_agent.py.

Changed

  • Simplified error handling in run_and_submit_all by removing redundant try-except block around instantiate_agent call.
  • Updated run_and_submit_all to call fetch_questions and handle its return values.
  • Updated app_dev.py to import and use SmolAgent from my_agent.py.
  • Added logic to GeminiApiModel to extract text after "FINAL ANSWER: " marker in responses.

Deprecated

Removed

Fixed

Security

[0.1.0] - 2024-07-25

Added

  • Initial project structure based on template.
  • Basic Gradio app (app.py) for agent evaluation.
  • Development version of app (app_dev.py) for local testing.
  • Placeholder BasicAgent in app_dev.py.
  • README.md with project overview and setup instructions.
  • Changelog.md to track changes.
  • .gitignore file.
  • Placeholder requirements.txt.