fix: remove unnecessary directive and reduce code duplication

Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-21 03:02:52 +00:00
co-authored by abhi1693
parent 8c197ffbbd
commit 9816a43f91
2 changed files with 1 additions and 4 deletions
@@ -613,14 +613,13 @@ class GatewayCoordinationService(AbstractGatewayMessagingService):
db_updated = False
if filename == "SOUL.md":
target.soul_template = normalized_content
target.updated_at = utcnow()
db_updated = True
elif filename == "IDENTITY.md":
target.identity_template = normalized_content
target.updated_at = utcnow()
db_updated = True
if db_updated:
target.updated_at = utcnow()
self.session.add(target)
await self.session.commit()
@@ -1,7 +1,5 @@
"use client";
export const dynamic = "force-dynamic";
import { useEffect, useState } from "react";
import { useParams, useRouter } from "next/navigation";