diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index 94a25f7..35eb1dd 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/.idea/webResources.xml b/.idea/webResources.xml
deleted file mode 100644
index 2cc5e01..0000000
--- a/.idea/webResources.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/contracts/IssueContext.py b/contracts/IssueContext.py
index da467bb..5c23ed8 100644
--- a/contracts/IssueContext.py
+++ b/contracts/IssueContext.py
@@ -2,7 +2,7 @@ import hashlib
from dataclasses import dataclass, field
from typing import Optional
-from pydantic import BaseModel
+from pydantic import BaseModel, Field
from contracts.ProjectContext import ProjectContext
@@ -13,7 +13,7 @@ class IssueComment(BaseModel):
body: str
created_at: int
is_agent: bool = False
- marker: dict[str, str] = field(default_factory=dict)
+ marker: dict[str, str] = Field(default_factory=dict)
@dataclass
diff --git a/main.py b/main.py
index 60ffa92..3051ed3 100644
--- a/main.py
+++ b/main.py
@@ -56,16 +56,10 @@ async def lifespan(app: FastAPI):
watcher = asyncio.create_task(watch_and_reset())
- app.state.youtrack_mcp = await YouTrackMCPClient(
- str(os.getenv('YOUTRACK_MCP_SERVER')),
- str(os.getenv('YOUTRACK_MCP_TOKEN')),
- ).connect()
-
yield
# ---- shutdown ----
watcher.cancel()
- await app.state.youtrack_mcp.close()
app = FastAPI(lifespan=lifespan)