Spaces:
Runtime error
Runtime error
from huggingface_hub import login | |
from smolagents import CodeAgent, DuckDuckGoSearchTool, OpenAIServerModel | |
model_ctc = OpenAIServerModel( | |
model_id="google/gemma-3-27b-it", | |
api_key="EMPTY", | |
api_base="http://10.10.48.10:8088/v1" | |
) | |
agent = CodeAgent(tools=[], model=model_ctc) | |
if __name__ == "__main__": | |
agent.run("Search for the best music recommendations for a party at the Wayne's mansion.") |