Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaruno committed Sep 16, 2024
2 parents 7caea70 + 16a48b0 commit 814810d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sweagent/agent/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,11 @@ def get_model(args: ModelArguments, commands: list[Command] | None = None):
return GroqModel(args, commands)
elif args.model_name == "instant_empty_submit":
return InstantEmptySubmitTestModel(args, commands)
elif args.model_name.startswith("glm"):
return GLMModel(args, commands)
elif args.model_name.startswith("codegeex"):
logger.info("Entering CodeGeeX Model")
return codegeexModel(args, commands)
else:
msg = f"Invalid model name: {args.model_name}"
raise ValueError(msg)
1 change: 1 addition & 0 deletions sweagent/environment/swe_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pathlib import Path
from typing import Any
import tempfile
import tempfile

import gymnasium as gym
import yaml
Expand Down

0 comments on commit 814810d

Please sign in to comment.