Spaces:
Sleeping
Sleeping
Update src/agent/linkedin_agent.py
Browse files
src/agent/linkedin_agent.py
CHANGED
@@ -25,12 +25,12 @@ def create_agent():
|
|
25 |
|
26 |
# 1) Primero, instanciamos el modelo basado en 04-mini-high:
|
27 |
model = OpenAIResponsesModel(
|
28 |
-
model="o4-mini",
|
29 |
openai_client=client
|
30 |
)
|
31 |
|
32 |
# 2) Obtenemos el WebSearchTool nativo:
|
33 |
-
web_search =
|
34 |
|
35 |
# 3) Construimos el agente con instrucciones muy explícitas:
|
36 |
instrucciones = """
|
|
|
25 |
|
26 |
# 1) Primero, instanciamos el modelo basado en 04-mini-high:
|
27 |
model = OpenAIResponsesModel(
|
28 |
+
model="o4-mini-high",
|
29 |
openai_client=client
|
30 |
)
|
31 |
|
32 |
# 2) Obtenemos el WebSearchTool nativo:
|
33 |
+
web_search = get_web_search_tool()
|
34 |
|
35 |
# 3) Construimos el agente con instrucciones muy explícitas:
|
36 |
instrucciones = """
|