diff --git a/patchwork/common/tools/code_edit_tools.py b/patchwork/common/tools/code_edit_tools.py index a461c9c66..48c7701b0 100644 --- a/patchwork/common/tools/code_edit_tools.py +++ b/patchwork/common/tools/code_edit_tools.py @@ -10,7 +10,7 @@ class CodeEditTool(Tool, tool_name="code_edit_tool"): def __init__(self, path: Path | str): super().__init__() - self.repo_path = Path(path) + self.repo_path = Path(path).resolve() self.modified_files = set() @property diff --git a/patchwork/steps/AgenticLLM/typed.py b/patchwork/steps/AgenticLLM/typed.py index f0d52bac0..5e698215a 100644 --- a/patchwork/steps/AgenticLLM/typed.py +++ b/patchwork/steps/AgenticLLM/typed.py @@ -5,12 +5,11 @@ class AgenticLLMInputs(TypedDict, total=False): + base_path: str prompt_value: Dict[str, Any] system_prompt: str user_prompt: str max_llm_calls: Annotated[int, StepTypeConfig(is_config=True)] - model_args: Annotated[str, StepTypeConfig(is_config=True)] - client_args: Annotated[str, StepTypeConfig(is_config=True)] openai_api_key: Annotated[ str, StepTypeConfig(is_config=True, or_op=["patched_api_key", "google_api_key", "anthropic_api_key"]) ] diff --git a/pyproject.toml b/pyproject.toml index 93f1edf8c..aa7a33390 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "patchwork-cli" -version = "0.0.89" +version = "0.0.90" description = "" authors = ["patched.codes"] license = "AGPL"