alfulanny commited on
Commit
dc28f3c
·
verified ·
1 Parent(s): c44e5a2

Update code_agent.py

Browse files
Files changed (1) hide show
  1. code_agent.py +1 -1
code_agent.py CHANGED
@@ -75,7 +75,7 @@ def make_code_agent(
75
  try:
76
  if model_name:
77
  try:
78
- model = InferenceClientModel(mode_id=model_name, token=HF_TOKEN)
79
  except Exception:
80
  try:
81
  model = InferenceClientModel(model_id="allenai/Olmo-3-7B-Instruct", token=HF_TOKEN)
 
75
  try:
76
  if model_name:
77
  try:
78
+ model = InferenceClientModel(model_id=model_name, token=HF_TOKEN)
79
  except Exception:
80
  try:
81
  model = InferenceClientModel(model_id="allenai/Olmo-3-7B-Instruct", token=HF_TOKEN)