Breaking change: openrouter_models.json -> custom_models.json
* Support for Custom URLs and custom models, including locally hosted models such as ollama * Support for native + openrouter + local models (i.e. dozens of models) means you can start delegating sub-tasks to particular models or work to local models such as localizations or other boring work etc. * Several tests added * precommit to also include untracked (new) files * Logfile auto rollover * Improved logging
This commit is contained in:
@@ -119,7 +119,7 @@ def divide(x, y):
|
||||
# Step 1: precommit tool with dummy file (low thinking mode)
|
||||
self.logger.info(" Step 1: precommit tool with dummy file")
|
||||
precommit_params = {
|
||||
"path": self.test_dir, # Required path parameter
|
||||
"path": os.getcwd(), # Use current working directory as the git repo path
|
||||
"files": [dummy_file_path],
|
||||
"prompt": "Please give me a quick one line reply. Review this code for commit readiness",
|
||||
"thinking_mode": "low",
|
||||
@@ -174,7 +174,7 @@ def subtract(a, b):
|
||||
# Continue precommit with both files
|
||||
continue_params = {
|
||||
"continuation_id": continuation_id,
|
||||
"path": self.test_dir, # Required path parameter
|
||||
"path": os.getcwd(), # Use current working directory as the git repo path
|
||||
"files": [dummy_file_path, new_file_path], # Old + new file
|
||||
"prompt": "Please give me a quick one line reply. Now also review the new feature file along with the previous one",
|
||||
"thinking_mode": "low",
|
||||
|
||||
Reference in New Issue
Block a user