{"id":49107082,"url":"https://github.com/fastapi-practices/ai_ui","last_synced_at":"2026-04-21T02:13:18.702Z","repository":{"id":346549249,"uuid":"1188764492","full_name":"fastapi-practices/ai_ui","owner":"fastapi-practices","description":"FastAPI Best Architecture AI UI plugin","archived":false,"fork":false,"pushed_at":"2026-04-12T16:46:15.000Z","size":218,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-12T18:22:21.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fastapi-practices.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-22T14:56:21.000Z","updated_at":"2026-04-12T16:46:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fastapi-practices/ai_ui","commit_stats":null,"previous_names":["fastapi-practices/ai_ui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fastapi-practices/ai_ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-practices%2Fai_ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-practices%2Fai_ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-practices%2Fai_ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-practices%2Fai_ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastapi-practices","download_url":"https://codeload.github.com/fastapi-practices/ai_ui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-practices%2Fai_ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32073500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T01:35:38.224Z","status":"online","status_checked_at":"2026-04-21T02:00:06.111Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-21T02:13:18.098Z","updated_at":"2026-04-21T02:13:18.696Z","avatar_url":"https://github.com/fastapi-practices.png","language":"TypeScript","readme":"# AI Plugin\n\n`ai` 插件为系统提供 AI 相关能力。\n\n## 功能概览\n\n- AI Chat：基于 `@antdv-next/x` 与 `@antdv-next/x-markdown` 构建对话界面，支持流式对话、Markdown 展示、代码高亮与 Mermaid 图表渲染\n- Topic \u0026 History：管理会话话题、聊天历史与消息上下文\n- Quick Phrase：管理快捷短语并在对话时快速复用\n- Provider：管理 AI 供应商配置\n- Model：管理供应商下可用模型\n- MCP：管理可接入的 MCP 服务\n\n## 依赖说明\n\n这个仓库是 `pnpm workspace` monorepo，并统一使用 `catalog:` 管理依赖来源\n\n如果缺少相关依赖，需要手动 `apps/web-antdv-next/package.json` 中添加：\n\n```json\n{\n  \"dependencies\": {\n    \"@antdv-next/x\": \"catalog:\",\n    \"@antdv-next/x-markdown\": \"catalog:\",\n    \"@antdv-next/x-sdk\": \"catalog:\",\n    \"@ag-ui/core\": \"catalog:\"\n  }\n}\n```\n\n在根目录 `pnpm-workspace.yaml` 的 `catalog` 中添加：\n\n```yaml\ncatalog:\n  '@ag-ui/core': ^0.0.52\n  '@antdv-next/x': ^0.3.0\n  '@antdv-next/x-markdown': ^0.0.2\n  '@antdv-next/x-sdk': ^0.0.2\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastapi-practices%2Fai_ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastapi-practices%2Fai_ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastapi-practices%2Fai_ui/lists"}