File tree Expand file tree Collapse file tree 2 files changed +27
-5
lines changed Expand file tree Collapse file tree 2 files changed +27
-5
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
19env :
210 LLM_API_BASE : " https://0x9fcf7888963793472bfcb8c14f4b6b47a7462f17.gaia.domains/v1"
311 LLM_MODEL : " Qwen2.5-Coder-3B-Instruct"
4- LLM_EMBED_MODEL : " gte-Qwen2-1.5B-instruct"
12+ LLM_EMBED_MODEL : " gte-Qwen2-1.5B-instruct"
13+
14+ jobs :
15+ test :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v3
19+ - name : Set up Python
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : ' 3.11'
23+ - name : Install dependencies
24+ run : |
25+ python -m pip install --upgrade pip
26+ pip install -r requirements.txt
27+ - name : Run tests
28+ run : |
29+ pytest
Original file line number Diff line number Diff line change @@ -165,10 +165,7 @@ async def compile_and_fix(request: CompileAndFixRequest):
165165 # Create MCP service instance
166166 mcp_service = RustCompilerMCP (
167167 vector_store = get_vector_store (),
168- llm_client = llm_client ,
169- compiler = compiler ,
170- parser = parser ,
171- prompt_generator = prompt_gen
168+ llm_client = llm_client
172169 )
173170
174171 # Compile and fix code
You can’t perform that action at this time.
0 commit comments