# tab1_content.py import streamlit as st def app_agent_config(): # Code for URL and Tools checkboxes # Examples for the user perspective st.markdown("Change the agents configuration here.") # Add a dropdown for selecting the inference URL url_endpoint = st.selectbox("Select Inference URL", [ "https://api-inference.huggingface.co/models/bigcode/starcoder", "https://api-inference.huggingface.co/models/OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5", "https://api-inference.huggingface.co/models/gpt2" ]) # Create tool loader instance tool_loader = ToolLoader(tool_names) # Add a checkbox for enabling logging log_enabled = st.checkbox("Enable Logging") tool_checkboxes = [st.checkbox(f"{tool.name} --- {tool.description} ") for tool in tool_loader.tools]