Skip to content

Commit 83bdb88

Browse files
Canonical partner docs (LlamaIndex) (CopilotKit#2757)
1 parent 2c97a52 commit 83bdb88

64 files changed

Lines changed: 1913 additions & 993 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/components/content/iframe-switcher.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
import { Monitor, Code } from "lucide-react";
99

1010
interface IframeSwitcherProps {
11+
id?: string;
1112
exampleUrl: string;
1213
codeUrl: string;
1314
height?: string;
@@ -16,14 +17,15 @@ interface IframeSwitcherProps {
1617
}
1718

1819
export function IframeSwitcher({
20+
id,
1921
exampleUrl,
2022
codeUrl,
2123
height = "600px",
2224
exampleLabel = "Example",
2325
codeLabel = "Code",
2426
}: IframeSwitcherProps) {
2527
return (
26-
<Tabs defaultValue={exampleLabel}>
28+
<Tabs defaultValue={exampleLabel} id={id}>
2729
<TabsList>
2830
<TabsTrigger value={exampleLabel}>
2931
<Monitor className="w-4 h-4" />

docs/content/docs/(root)/custom-look-and-feel/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title": "Custom Look and Feel",
3+
"icon": "lucide/LayoutDashboard",
34
"pages": [
4-
55
"built-in-ui-components",
66
"customize-built-in-ui-components",
77
"bring-your-own-components",

docs/content/docs/adk/generative-ui/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ agents and user interfaces. As your agent processes information and makes decisi
2929

3030
## How can I use this?
3131

32-
To get started, you first need to decide what is going to be backing your generative UI. There are three main variants of Generative UI with CopilotKit.
32+
To get started, you first need to decide what is going to be backing your generative UI. There are three main variants of Generative UI with CopilotKit for ADK.
3333

3434
<Cards>
3535
<Card

docs/content/docs/adk/meta.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
"---Premium Features---",
1717
"...premium",
1818
"---Troubleshooting---",
19-
"...troubleshooting",
20-
"---Other---",
21-
"...(other)"
19+
"...troubleshooting"
2220
]
2321
}

docs/content/docs/adk/shared-state/in-app-agent-read.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ state updates, you can reflect these updates natively in your application.
114114
// [!code highlight:4]
115115
const { state } = useCoAgent<AgentState>({
116116
name: "my_agent", // MUST match the agent name in CopilotRuntime
117-
initialState: { language: "spanish" } // optionally provide an initial state
117+
initialState: { language: "english" } // optionally provide an initial state
118118
});
119119

120120
// ...
@@ -142,7 +142,7 @@ state updates, you can reflect these updates natively in your application.
142142
<Step>
143143
### Give it a try!
144144
As the agent state updates, your `state` variable will automatically update with it! In this case, you'll see the
145-
language set to "spanish" as that's the initial state we set.
145+
language set to "english" as that's the initial state we set.
146146
</Step>
147147
</Steps>
148148

docs/content/docs/adk/shared-state/in-app-agent-write.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ when your agent is calling tools. CopilotKit allows you to fully customize how t
113113
function YourMainContent() {
114114
const { state, setState } = useCoAgent<AgentState>({ // [!code highlight]
115115
name: "my_agent", // MUST match the agent name in CopilotRuntime
116-
initialState: { language: "spanish" } // optionally provide an initial state
116+
initialState: { language: "english" } // optionally provide an initial state
117117
});
118118

119119
// ...
@@ -167,7 +167,7 @@ function YourMainContent() {
167167
// [!code word:run:1]
168168
const { state, setState, run } = useCoAgent<AgentState>({
169169
name: "my_agent", // MUST match the agent name in CopilotRuntime
170-
initialState: { language: "spanish" } // optionally provide an initial state
170+
initialState: { language: "english" } // optionally provide an initial state
171171
});
172172

173173
// setup to be called when some event in the app occurs

docs/content/docs/ag2/custom-look-and-feel/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title": "Custom Look and Feel",
3+
"icon": "lucide/LayoutDashboard",
34
"pages": [
4-
55
"built-in-ui-components",
66
"customize-built-in-ui-components",
77
"bring-your-own-components",

docs/content/docs/ag2/frontend-actions.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Check out the [Frontend Tools overview](/frontend-tools) to understand what they
6161

6262
<Tabs groupId="language_ag2_agent" items={['Python']} default="Python" persist>
6363
<Tab value="Python">
64-
```python title="agent-py/sample_agent/agent.py"
64+
```python title="agent.py"
6565
# your code goes here...
6666
```
6767
</Tab>
@@ -78,7 +78,7 @@ Check out the [Frontend Tools overview](/frontend-tools) to understand what they
7878

7979
<Tabs groupId="language_ag2_agent" items={['Python']} default="Python" persist>
8080
<Tab value="Python">
81-
```python title="agent-py/sample_agent/agent.py"
81+
```python title="agent.py"
8282
# your code goes here...
8383
```
8484
</Tab>

docs/content/docs/crewai-crews/custom-look-and-feel/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title": "Custom Look and Feel",
3+
"icon": "lucide/LayoutDashboard",
34
"pages": [
4-
55
"built-in-ui-components",
66
"customize-built-in-ui-components",
77
"bring-your-own-components",

docs/content/docs/crewai-flows/custom-look-and-feel/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title": "Custom Look and Feel",
3+
"icon": "lucide/LayoutDashboard",
34
"pages": [
4-
55
"built-in-ui-components",
66
"customize-built-in-ui-components",
77
"bring-your-own-components",

0 commit comments

Comments
 (0)