File size: 415 Bytes
a186feb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.")