Skip to content

Commit 6fa6e58

Browse files
committed
refactor command to execute
1 parent 5c0b26d commit 6fa6e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llm_change_agent/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def list_models():
6767
"--provider", type=click.Choice(ALL_AVAILABLE_PROVIDERS), default="openai", help="Provider to use for generation."
6868
)
6969
@click.option("--prompt", type=str, default="Hello, world!", help="Prompt to use for generation.")
70-
def generate(model: str, provider: str, prompt: str):
70+
def execute(model: str, provider: str, prompt: str):
7171
"""Generate text using the specified model."""
7272
llm_agent = LLMChangeAgent(model=model, prompt=prompt, provider=provider)
7373
llm_agent.run()

0 commit comments

Comments
 (0)