Skip to content

Commit 61054a7

Browse files
committed
use CPK branch that fixes tool results
1 parent 801bd53 commit 61054a7

File tree

7 files changed

+1096
-322
lines changed

7 files changed

+1096
-322
lines changed

typescript-sdk/apps/dojo/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
"@ag-ui/server-starter-all-features": "workspace:*",
2121
"@ag-ui/vercel-ai-sdk": "workspace:*",
2222
"@ai-sdk/openai": "^1.3.22",
23-
"@copilotkit/react-core": "1.8.14-next.4",
24-
"@copilotkit/react-ui": "1.8.14-next.4",
25-
"@copilotkit/runtime": "1.8.14-next.4",
26-
"@copilotkit/runtime-client-gql": "1.8.14-next.4",
27-
"@copilotkit/shared": "1.8.14-next.4",
23+
"@copilotkit/react-core": "0.0.0-mme-fix-remote-results-20250717113906",
24+
"@copilotkit/react-ui": "0.0.0-mme-fix-remote-results-20250717113906",
25+
"@copilotkit/runtime": "0.0.0-mme-fix-remote-results-20250717113906",
26+
"@copilotkit/runtime-client-gql": "0.0.0-mme-fix-remote-results-20250717113906",
27+
"@copilotkit/shared": "0.0.0-mme-fix-remote-results-20250717113906",
2828
"@mastra/client-js": "^0.10.9",
2929
"@mastra/core": "^0.10.10",
3030
"@mastra/libsql": "^0.11.0",

typescript-sdk/apps/dojo/src/app/[integrationId]/feature/tool_based_generative_ui/page.tsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,7 @@ export default function ToolBasedGenerativeUI({ params }: ToolBasedGenerativeUIP
2222
// agent lock to the relevant agent
2323
agent="tool_based_generative_ui"
2424
>
25-
<div
26-
className="min-h-full w-full flex items-center justify-center"
27-
style={
28-
{
29-
// "--copilot-kit-primary-color": "#222",
30-
// "--copilot-kit-separator-color": "#CCC",
31-
} as CopilotKitCSSProperties
32-
}
33-
>
25+
<div className="min-h-full w-full flex items-center justify-center">
3426
<Haiku />
3527
<CopilotSidebar
3628
defaultOpen={true}
@@ -56,6 +48,7 @@ function Haiku() {
5648

5749
useCopilotAction({
5850
name: "generate_haiku",
51+
available: "remote",
5952
parameters: [
6053
{
6154
name: "japanese",
@@ -67,9 +60,6 @@ function Haiku() {
6760
},
6861
],
6962
followUp: false,
70-
handler: async () => {
71-
return "Haiku generated.";
72-
},
7363
render: ({ args: generatedHaiku, result, status }) => {
7464
return <HaikuApproval setHaiku={setHaiku} generatedHaiku={generatedHaiku} status={status} />;
7565
},

typescript-sdk/integrations/crewai/python/ag_ui_crewai/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
copilotkit_emit_state,
66
copilotkit_stream
77
)
8-
from .enterprise import CrewEnterpriseEventListener
8+
# from .enterprise import CrewEnterpriseEventListener
99

10-
CREW_ENTERPRISE_EVENT_LISTENER = CrewEnterpriseEventListener()
10+
# CREW_ENTERPRISE_EVENT_LISTENER = CrewEnterpriseEventListener()
1111

1212
__all__ = [
1313
"add_crewai_flow_fastapi_endpoint",

0 commit comments

Comments
 (0)