fix: change default Confluence space from AG to AI

AG space does not exist. AI Collaboration (AI) is the correct default.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-03-02 14:17:33 +02:00
parent 100f85e990
commit f3db53798d

4
bot.py
View File

@@ -186,7 +186,7 @@ ATLASSIAN_TOOLS = [
"properties": { "properties": {
"title": {"type": "string", "description": "Page title"}, "title": {"type": "string", "description": "Page title"},
"content": {"type": "string", "description": "Page body text (paragraphs separated by newlines)"}, "content": {"type": "string", "description": "Page body text (paragraphs separated by newlines)"},
"space_key": {"type": "string", "description": "Confluence space key (default: AG)", "default": "AG"}, "space_key": {"type": "string", "description": "Confluence space key (default: AI)", "default": "AI"},
}, },
"required": ["title", "content"], "required": ["title", "content"],
}, },
@@ -646,7 +646,7 @@ class AtlassianClient:
return f"Failed to update Confluence page: {e}" return f"Failed to update Confluence page: {e}"
async def confluence_create_page(self, token: str, title: str, content: str, async def confluence_create_page(self, token: str, title: str, content: str,
space_key: str = "AG") -> str: space_key: str = "AI") -> str:
cloud_id = await self._get_cloud_id(token) cloud_id = await self._get_cloud_id(token)
if not cloud_id: if not cloud_id:
return "Error: Could not determine Atlassian Cloud instance." return "Error: Could not determine Atlassian Cloud instance."