diff --git a/README.md b/README.md index 5c83048..b5a5b61 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,13 @@ ![GitAIOps Logo](artifacts/logo.png) -GitAIOps is a ChatGPT plugin that enables ChatGPT to interact with Git services, such as GitLab and GitHub. It provides a set of API endpoints that allow ChatGPT to execute Git services API requests. +GitAIOps is a ChatGPT plugin that enables ChatGPT to interact with GitLab's CI/CD workflows. It provides a set of API endpoints that allow ChatGPT to execute GitLab API requests. -## Access to Unverified Plugins +## Access to Verified Plugin -The GitAIOps plugins are currently submitted for review in the ChatGPT plugin store and can be used by up to 15 plugin developers for testing. Please note that these are unverified plugins. Here are the links to the deployed plugins: +The GitAIOps plugin is officially available in the ChatGPT plugin store. You can access it directly from the store or use the link to the deployed plugin: - GitAIOps: [https://gitaiops.onrender.com](https://gitaiops.onrender.com) -- GitAIOps GitHub: [https://gitaiops-github.onrender.com](https://gitaiops-github.onrender.com) ## Usage diff --git a/artifacts/.well-known/ai-plugin-github.json b/artifacts/.well-known/ai-plugin-github.json index b503dae..8c953e9 100644 --- a/artifacts/.well-known/ai-plugin-github.json +++ b/artifacts/.well-known/ai-plugin-github.json @@ -19,7 +19,7 @@ "url": "http://localhost/openapi.json", "is_user_authenticated": false }, - "logo_url": "http://localhost/artifacts/logo.png", + "logo_url": "https://raw.githubusercontent.com/mhdzumair/GitAIOps/main/artifacts/logo.png", "contact_email": "mhdzumair@gmail.com", "legal_info_url": "http://localhost" } diff --git a/artifacts/.well-known/ai-plugin-gitlab.json b/artifacts/.well-known/ai-plugin-gitlab.json index 7b7d489..71b0676 100644 --- a/artifacts/.well-known/ai-plugin-gitlab.json +++ b/artifacts/.well-known/ai-plugin-gitlab.json @@ -19,7 +19,7 @@ "url": "http://localhost/openapi.json", "is_user_authenticated": false }, - "logo_url": "http://localhost/artifacts/logo.png", + "logo_url": "https://raw.githubusercontent.com/mhdzumair/GitAIOps/main/artifacts/logo.png", "contact_email": "mhdzumair@gmail.com", "legal_info_url": "http://localhost" } diff --git a/main.py b/main.py index 4ccc033..b03dfc9 100644 --- a/main.py +++ b/main.py @@ -47,7 +47,6 @@ async def ai_plugin(request: Request): plugin_info.update( { - "logo_url": f"{host_url}artifacts/logo.png", "legal_info_url": f"{host_url}", } ) @@ -73,12 +72,3 @@ async def get_home(): """ html_content = Path("artifacts/index.html").read_text(encoding="utf-8") return html_content - - -@app.get("/artifacts/logo.png", include_in_schema=False) -async def read_logo(): - """ - This endpoint returns the logo image file. - The image is read from the file system and returned as a file response. - """ - return FileResponse("artifacts/logo.png")