Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CopilotKit/OpenGenerativeUI
/ functions
Functions
161 in github.com/CopilotKit/OpenGenerativeUI
⨍
Functions
161
◇
Types & classes
28
↳
Endpoints
1
Function
apply_template
Retrieve a saved template's HTML so you can adapt it with new data. After calling this, generate a NEW widget in the same style and render vi
apps/agent/src/templates.py:162
Function
clear_pending_template
Clear the pending_template from state after applying it. Call this after you have finished applying a template.
apps/agent/src/templates.py:251
Function
delete_template
Delete a saved UI template. Args: template_id: The ID of the template to delete
apps/agent/src/templates.py:218
Function
generate_form
Generates a login form for the user to sign in.
apps/agent/src/form.py:5
Function
getChipContainer
()
apps/app/src/components/template-library/template-chip.tsx:20
Function
get_todos
Get the current todos.
apps/agent/src/todos.py:40
Function
handleApplyClick
(id: string)
apps/app/src/components/template-library/index.tsx:50
Function
handleClick
(e: MouseEvent)
apps/app/src/components/generative-ui/export-overlay.tsx:35
Function
handleDecline
()
apps/app/src/components/generative-ui/meeting-time-picker.tsx:42
Function
handleDelete
(id: string)
apps/app/src/components/template-library/index.tsx:75
Function
handleKeyDown
(e: KeyboardEvent)
apps/app/src/components/desktop-tip-modal.tsx:35
Function
handleKeyDown
(e: KeyboardEvent)
apps/app/src/components/demo-gallery/index.tsx:27
Function
handleTryDemo
(demo: DemoItem)
apps/app/src/app/page.tsx:40
Function
handler
(e: Event)
apps/app/src/lib/sandbox/prompt-bridge.tsx:17
Function
health
()
apps/agent/main.py:41
Function
list_templates
List all saved UI templates, including built-in seed templates. Returns template summaries (id, name, description, data_description).
apps/agent/src/templates.py:141
Function
listener
(e: Event)
apps/app/src/lib/sandbox/__tests__/sandbox-functions.test.ts:12
Function
manage_todos
Manage the current todos.
apps/agent/src/todos.py:19
Function
onMessage
(e: MessageEvent)
apps/app/src/components/generative-ui/open-generative-ui/renderer.tsx:266
Function
openQrModal
()
apps/app/src/app/page.tsx:45
Function
plan_visualization
Plan a visualization before building it. MUST be called before generateSandboxedUi, pieChart, or barChart. Outlines the approach, technology c
apps/agent/src/plan.py:7
Method
put
(self, config, checkpoint, metadata, new_versions)
apps/agent/src/bounded_memory_saver.py:38
Function
query_data
Query the database, takes natural language. Always call before showing a chart or graph.
apps/agent/src/query.py:12
Function
save_template
Save a generated UI as a reusable template. Call this when the user wants to save a widget/visualization they liked for reuse later. Arg
apps/agent/src/templates.py:99
Function
subscribeChipContainer
(cb: () => void)
apps/app/src/components/template-library/template-chip.tsx:24
Function
test_advanced_visualization_library_guidance_is_canonical
()
apps/agent/tests/test_skills_contract.py:50
Function
test_agent_registers_compat_middleware
()
apps/agent/tests/test_anthropic_compat.py:92
Function
test_all_three_skills_present
()
apps/agent/tests/test_skills_contract.py:18
Function
test_apply_template_appends_canonical_translation_note
()
apps/agent/tests/test_canonical_contract.py:98
Function
test_async_path_reorders_too
()
apps/agent/tests/test_anthropic_compat.py:51
Function
test_before_agent_serializes_agui_context_models
()
apps/agent/tests/test_middleware_context.py:13
Function
test_claude_model_names_route_to_anthropic
(monkeypatch: pytest.MonkeyPatch)
apps/agent/tests/test_model.py:38
Function
test_default_model_is_fable
()
apps/agent/tests/test_model.py:17
Function
test_every_skill_names_canonical_tool
(path)
apps/agent/tests/test_skills_contract.py:32
Function
test_gpt_model_names_route_to_openai_fallback
(monkeypatch: pytest.MonkeyPatch)
apps/agent/tests/test_model.py:29
Function
test_intact_thinking_block_unchanged
()
apps/agent/tests/test_anthropic_compat.py:84
Function
test_js_fences_never_show_bare_top_level_await_imports
(name)
apps/agent/tests/test_skills_contract.py:85
Function
test_llm_model_env_override
(monkeypatch: pytest.MonkeyPatch)
apps/agent/tests/test_model.py:23
Function
test_main_uses_build_model
()
apps/agent/tests/test_model.py:51
Function
test_max_tokens_fits_full_widget_generation
()
apps/agent/tests/test_model.py:43
Function
test_moves_trailing_system_message_to_front
()
apps/agent/tests/test_anthropic_compat.py:31
Function
test_no_inline_style_blocks_in_html_examples
(path)
apps/agent/tests/test_skills_contract.py:61
Function
test_no_skill_references_widget_renderer
(path)
apps/agent/tests/test_skills_contract.py:27
Function
test_noop_when_already_consecutive
()
apps/agent/tests/test_anthropic_compat.py:44
Function
test_plan_visualization_docstring_names_canonical_tool
()
apps/agent/tests/test_canonical_contract.py:75
Function
test_plan_visualization_is_a_langchain_tool
()
apps/agent/tests/test_smoke.py:6
Function
test_preserves_relative_order_of_system_messages
()
apps/agent/tests/test_anthropic_compat.py:37
Function
test_procedural_skills_document_css_first_reveal
(name)
apps/agent/tests/test_skills_contract.py:44
Function
test_procedural_skills_document_js_channels
(name)
apps/agent/tests/test_skills_contract.py:37
Function
test_procedural_skills_warn_about_classic_script_semantics
(name)
apps/agent/tests/test_skills_contract.py:102
Function
test_prompt_documents_library_imports_for_sandbox
()
apps/agent/tests/test_canonical_contract.py:58
Function
test_prompt_documents_ordered_params
()
apps/agent/tests/test_canonical_contract.py:16
Function
test_prompt_documents_sandbox_bridge_and_restrictions
()
apps/agent/tests/test_canonical_contract.py:38
Function
test_prompt_forbids_repeat_generate_sandboxed_ui_calls
()
apps/agent/tests/test_canonical_contract.py:107
Function
test_prompt_forbids_top_level_await_in_js_channels
()
apps/agent/tests/test_canonical_contract.py:65
Function
test_prompt_preserves_visualization_protocol
()
apps/agent/tests/test_canonical_contract.py:45
Function
test_prompt_uses_generate_sandboxed_ui_not_widget_renderer
()
apps/agent/tests/test_canonical_contract.py:11
Function
test_repairs_thinking_block_missing_text_field
()
apps/agent/tests/test_anthropic_compat.py:67
Function
test_seed_templates_use_sandbox_bridge_not_global_send_prompt
()
apps/agent/tests/test_canonical_contract.py:86
Function
test_send_prompt_examples_use_sandbox_bridge
(name)
apps/agent/tests/test_skills_contract.py:74
Function
test_templates_docstrings_name_canonical_tool
()
apps/agent/tests/test_canonical_contract.py:80
← previous
101–161 of 161, ranked by callers