mirror of
https://github.com/microsoft/autogen.git
synced 2025-10-04 04:27:14 +00:00
Improve AGS Documentation (#5065)
* update deps to address dependabot issues. * fill screen width, closes #5050 * documentation improvements
This commit is contained in:
parent
acb9117513
commit
8b3d25d041
@ -71,11 +71,15 @@ Team Builder Operations:
|
|||||||
- Agents: Add models and tools
|
- Agents: Add models and tools
|
||||||
- Save team configurations
|
- Save team configurations
|
||||||
|
|
||||||
Component Library Management:
|
## Gallery - Sharing and Reusing Components
|
||||||
|
|
||||||
|
A Gallery is a collection of components - teams, agents, models, tools, and terminations - that can be shared and reused across projects.
|
||||||
|
|
||||||
|
Users can create a local gallery or import a gallery (from a URL, a JSON file import or simply by copying and pasting the JSON). At any given time, users can select any of the current Gallery items as a **default gallery**. This **default gallery** will be used to populate the Team Builder sidebar with components.
|
||||||
|
|
||||||
- Create new galleries via Gallery -> New Gallery
|
- Create new galleries via Gallery -> New Gallery
|
||||||
- Edit gallery JSON as needed
|
- Edit gallery JSON as needed
|
||||||
- Set a **default** gallery (click pin icon in sidebar) to make components available in Team Builder
|
- Set a **default** gallery (click pin icon in sidebar) to make components available in Team Builder.
|
||||||
|
|
||||||
## Interactively Running Teams
|
## Interactively Running Teams
|
||||||
|
|
||||||
|
@ -16,6 +16,10 @@
|
|||||||
"clean": "gatsby clean",
|
"clean": "gatsby clean",
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
|
"resolutions": {
|
||||||
|
"cookie": "^0.7.1",
|
||||||
|
"path-to-regexp": "^0.1.12"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@dagrejs/dagre": "^1.1.4",
|
"@dagrejs/dagre": "^1.1.4",
|
||||||
"@dnd-kit/core": "^6.2.0",
|
"@dnd-kit/core": "^6.2.0",
|
||||||
|
@ -247,13 +247,20 @@ const Sidebar = ({ link, meta, isMobile }: SidebarProps) => {
|
|||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
|
<div className="w-full ">
|
||||||
|
<div className="hidden">
|
||||||
|
{" "}
|
||||||
<Link
|
<Link
|
||||||
to="/settings"
|
to="/settings"
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
setHeader({
|
setHeader({
|
||||||
title: "Settings",
|
title: "Settings",
|
||||||
breadcrumbs: [
|
breadcrumbs: [
|
||||||
{ name: "Settings", href: "/settings", current: true },
|
{
|
||||||
|
name: "Settings",
|
||||||
|
href: "/settings",
|
||||||
|
current: true,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -262,9 +269,17 @@ const Sidebar = ({ link, meta, isMobile }: SidebarProps) => {
|
|||||||
<Settings className="h-6 w-6 shrink-0 text-secondary group-hover:text-accent" />
|
<Settings className="h-6 w-6 shrink-0 text-secondary group-hover:text-accent" />
|
||||||
{showFull && "Settings"}
|
{showFull && "Settings"}
|
||||||
</Link>
|
</Link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div className="hidden md:block">
|
<div className="hidden md:block">
|
||||||
|
<Tooltip
|
||||||
|
title={`${isExpanded ? "Close Sidebar" : "Open Sidebar"}`}
|
||||||
|
placement="right"
|
||||||
|
>
|
||||||
<button
|
<button
|
||||||
onClick={() => setSidebarState({ isExpanded: !isExpanded })}
|
onClick={() =>
|
||||||
|
setSidebarState({ isExpanded: !isExpanded })
|
||||||
|
}
|
||||||
className="p-2 rounded-md hover:bg-secondary hover:text-accent text-secondary transition-colors focus:outline-none focus:ring-2 focus:ring-accent focus:ring-opacity-50"
|
className="p-2 rounded-md hover:bg-secondary hover:text-accent text-secondary transition-colors focus:outline-none focus:ring-2 focus:ring-accent focus:ring-opacity-50"
|
||||||
>
|
>
|
||||||
{isExpanded ? (
|
{isExpanded ? (
|
||||||
@ -273,6 +288,7 @@ const Sidebar = ({ link, meta, isMobile }: SidebarProps) => {
|
|||||||
<PanelLeftOpen strokeWidth={1.5} className="h-6 w-6" />
|
<PanelLeftOpen strokeWidth={1.5} className="h-6 w-6" />
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
|
</Tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
@ -5,7 +5,7 @@ import { Download } from "lucide-react";
|
|||||||
|
|
||||||
const PythonGuide: React.FC = () => {
|
const PythonGuide: React.FC = () => {
|
||||||
return (
|
return (
|
||||||
<div className="max-w-4xl">
|
<div className="">
|
||||||
<h1 className="tdext-2xl font-bold mb-6">
|
<h1 className="tdext-2xl font-bold mb-6">
|
||||||
Using AutoGen Studio Teams in Python Code and REST API
|
Using AutoGen Studio Teams in Python Code and REST API
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -50,7 +50,7 @@ export const DeployManager: React.FC = () => {
|
|||||||
|
|
||||||
{/* Main Content */}
|
{/* Main Content */}
|
||||||
<div
|
<div
|
||||||
className={`flex-1 transition-all -mr-6 duration-200 ${
|
className={`flex-1 transition-all max-w-5xl -mr-6 duration-200 ${
|
||||||
isSidebarOpen ? "ml-64" : "ml-12"
|
isSidebarOpen ? "ml-64" : "ml-12"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
|
@ -166,7 +166,7 @@ export const GalleryManager: React.FC = () => {
|
|||||||
|
|
||||||
{/* Main Content */}
|
{/* Main Content */}
|
||||||
<div
|
<div
|
||||||
className={`flex-1 transition-all -mr-6 duration-200 ${
|
className={`flex-1 transition-all max-w-5xl -mr-6 duration-200 ${
|
||||||
isSidebarOpen ? "ml-64" : "ml-12"
|
isSidebarOpen ? "ml-64" : "ml-12"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
|
@ -44,10 +44,10 @@ html {
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
padding: 0px 64px 0px 64px;
|
padding: 0px 64px 0px 64px;
|
||||||
@apply px-4 md:px-8 lg:px-16 w-full !important;
|
@apply px-4 md:px-4 lg:px-8 w-full !important;
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
min-width: 300px;
|
min-width: 300px;
|
||||||
max-width: 1900px;
|
/* max-width: 1900px; */
|
||||||
background: transparent;
|
background: transparent;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
/* border: 2px solid green; */
|
/* border: 2px solid green; */
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user