Adjust ask-code
This commit is contained in:
parent
dabd12f5cf
commit
17d55bd324
@ -3,10 +3,7 @@ import sys
|
||||
|
||||
from chat.ask_codebase.chains.smart_qa import SmartQA
|
||||
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), "..", "libs"))
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "libs"))
|
||||
|
||||
from ide_services import IDEService # noqa: E402
|
||||
from lib.ide_service import IDEService
|
||||
|
||||
|
||||
def query(question, lsp_brige_port):
|
||||
|
@ -1,4 +1,8 @@
|
||||
description: Ask questions about the current project's codebase, which requires proactive acquisition of additional context information to answer.
|
||||
input: required
|
||||
workflow_python:
|
||||
env_name: ask-code-123
|
||||
version: 3.11.0
|
||||
dependencies: requirements.txt
|
||||
steps:
|
||||
- run: $command_python $command_path/ask-code.py query "$input"
|
||||
- run: $workflow_python $command_path/ask-code.py query "$input"
|
||||
|
1
merico/ask-code/requirements.txt
Normal file
1
merico/ask-code/requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
devchat-ask>=0.1.11,<0.2
|
Loading…
x
Reference in New Issue
Block a user