Spaces:
Sleeping
Sleeping
EtienneB
commited on
Commit
·
36dd2e6
1
Parent(s):
64434a5
Update agent.py
Browse files
agent.py
CHANGED
@@ -91,10 +91,12 @@ def build_graph():
|
|
91 |
|
92 |
# First create the HuggingFaceEndpoint
|
93 |
llm_endpoint = HuggingFaceEndpoint(
|
94 |
-
repo_id="
|
95 |
-
|
|
|
|
|
96 |
temperature=0.3,
|
97 |
-
max_new_tokens=
|
98 |
timeout=60,
|
99 |
)
|
100 |
|
|
|
91 |
|
92 |
# First create the HuggingFaceEndpoint
|
93 |
llm_endpoint = HuggingFaceEndpoint(
|
94 |
+
repo_id="gemini/gemini-2.0-flash",
|
95 |
+
#"Qwen/Qwen2.5-Coder-32B-Instruct",
|
96 |
+
#huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
|
97 |
+
api_key=os.getenv("GEMINI_API_KEY"),
|
98 |
temperature=0.3,
|
99 |
+
max_new_tokens=512,
|
100 |
timeout=60,
|
101 |
)
|
102 |
|