First_Agent / README.md
daviddwlee84's picture
Add Chainlit example
1d9658a
|
raw
history blame
1.23 kB
metadata
title: First Agent Template
emoji: 
colorFrom: pink
colorTo: yellow
sdk: gradio
sdk_version: 5.15.0
app_file: app.py
pinned: false
tags:
  - smolagents
  - agent
  - smolagent
  - tool
  - agent-course

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference


# Gradio (TODO: somehow buggy)
python app.py
# Streamlit (TODO: use `chat_input` and able to clear message history)
streamlit run streamlit_app.py
# Chainlit (TODO: move the ReAct process from agent message to "step")
chainlit run chainlit_app.py

Test Example

  • What time is it?
    • Expect to use tool get_current_time_in_timezone
    • Result expect the current local time in UTC