Krishna1107 commited on
Commit
0b6df82
Β·
1 Parent(s): d129f63

name changes

Browse files
Files changed (5) hide show
  1. README.md +3 -3
  2. openenv.yaml +1 -1
  3. server/main.py +3 -3
  4. server/models.py +1 -1
  5. tests/test_endpoints.py +1 -1
README.md CHANGED
@@ -334,8 +334,8 @@ pytest tests/ -v
334
  ### Docker
335
 
336
  ```bash
337
- docker build -t cicd-debug-env .
338
- docker run -p 7860:7860 cicd-debug-env
339
  ```
340
 
341
  ### Baseline Inference (with LLM)
@@ -352,7 +352,7 @@ python inference.py
352
  ## Project Structure
353
 
354
  ```
355
- cicd-debug-env/
356
  β”œβ”€β”€ openenv.yaml # OpenEnv environment specification
357
  β”œβ”€β”€ inference.py # LLM baseline (OpenAI client + HF router)
358
  β”œβ”€β”€ baseline_runner.py # Heuristic baseline for /baseline endpoint
 
334
  ### Docker
335
 
336
  ```bash
337
+ docker build -t cicd-docker-env .
338
+ docker run -p 7860:7860 cicd-docker-env
339
  ```
340
 
341
  ### Baseline Inference (with LLM)
 
352
  ## Project Structure
353
 
354
  ```
355
+ cicd-docker-env/
356
  β”œβ”€β”€ openenv.yaml # OpenEnv environment specification
357
  β”œβ”€β”€ inference.py # LLM baseline (OpenAI client + HF router)
358
  β”œβ”€β”€ baseline_runner.py # Heuristic baseline for /baseline endpoint
openenv.yaml CHANGED
@@ -1,4 +1,4 @@
1
- name: cicd-debug-env
2
  version: "1.0.0"
3
  description: >
4
  Debug broken GitHub Actions workflows and Dockerfiles.
 
1
+ name: cicd-docker-env
2
  version: "1.0.0"
3
  description: >
4
  Debug broken GitHub Actions workflows and Dockerfiles.
server/main.py CHANGED
@@ -46,7 +46,7 @@ env: Optional[CICDDebugEnvironment] = None
46
 
47
  @app.get("/")
48
  async def root():
49
- return {"status": "healthy", "environment": "cicd-debug-env"}
50
 
51
 
52
  @app.get("/health")
@@ -57,7 +57,7 @@ async def health():
57
  @app.get("/metadata")
58
  async def metadata():
59
  return {
60
- "name": "cicd-debug-env",
61
  "description": "Debug broken GitHub Actions workflows and Dockerfiles. AI agents identify and fix CI/CD infrastructure issues.",
62
  "version": "1.0.0",
63
  "author": "Krishna",
@@ -88,7 +88,7 @@ async def mcp(request: dict = None):
88
  "result": {
89
  "protocolVersion": "2024-11-05",
90
  "capabilities": {"tools": {}},
91
- "serverInfo": {"name": "cicd-debug-env", "version": "1.0.0"},
92
  },
93
  }
94
  elif method == "tools/list":
 
46
 
47
  @app.get("/")
48
  async def root():
49
+ return {"status": "healthy", "environment": "cicd-docker-env"}
50
 
51
 
52
  @app.get("/health")
 
57
  @app.get("/metadata")
58
  async def metadata():
59
  return {
60
+ "name": "cicd-docker-env",
61
  "description": "Debug broken GitHub Actions workflows and Dockerfiles. AI agents identify and fix CI/CD infrastructure issues.",
62
  "version": "1.0.0",
63
  "author": "Krishna",
 
88
  "result": {
89
  "protocolVersion": "2024-11-05",
90
  "capabilities": {"tools": {}},
91
+ "serverInfo": {"name": "cicd-docker-env", "version": "1.0.0"},
92
  },
93
  }
94
  elif method == "tools/list":
server/models.py CHANGED
@@ -105,7 +105,7 @@ class TaskInfo(BaseModel):
105
 
106
 
107
  class EnvironmentInfo(BaseModel):
108
- name: str = "cicd-debug-env"
109
  version: str = "1.0.0"
110
  description: str = "Debug CI/CD infrastructure issues"
111
  tasks: List[TaskInfo]
 
105
 
106
 
107
  class EnvironmentInfo(BaseModel):
108
+ name: str = "cicd-docker-env"
109
  version: str = "1.0.0"
110
  description: str = "Debug CI/CD infrastructure issues"
111
  tasks: List[TaskInfo]
tests/test_endpoints.py CHANGED
@@ -12,7 +12,7 @@ def test_root_health():
12
  assert response.status_code == 200
13
  data = response.json()
14
  assert data["status"] == "healthy"
15
- assert data["environment"] == "cicd-debug-env"
16
 
17
 
18
  def test_info_returns_all_tasks():
 
12
  assert response.status_code == 200
13
  data = response.json()
14
  assert data["status"] == "healthy"
15
+ assert data["environment"] == "cicd-docker-env"
16
 
17
 
18
  def test_info_returns_all_tasks():