Skip to content
This repository was archived by the owner on Oct 1, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ from openbb_ai import (

app = FastAPI()


@app.get("/agents.json")
async def agents_json():
return JSONResponse(
Expand All @@ -60,7 +61,9 @@ async def agents_json():
"name": "My Agent",
"description": "This is my agent",
"image": f"{AGENT_BASE_URL}/my-agent/logo.png",
"endpoints": {"query": f"{AGENT_BASE_URL}/query"}, # must match the query endpoint below
"endpoints": {
"query": f"{AGENT_BASE_URL}/query"
}, # must match the query endpoint below
"features": {
"streaming": True, # must be True
"widget-dashboard-select": True, # Enable access to priority widgets
Expand All @@ -70,6 +73,7 @@ async def agents_json():
}
)


@app.get("/query")
async def stream(request: QueryRequest):
async def execution_loop():
Expand Down
1 change: 1 addition & 0 deletions openbb_ai/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,7 @@ class FunctionCallSSEData(BaseModel):
"execute_agent_tool",
"manage_navigation_bar",
"get_skill_content",
"save_skill",
]
input_arguments: dict
extra_state: dict | None = Field(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "openbb-ai"
version = "2.1.0"
version = "2.2.0"
description = "An SDK for building agents compatible with OpenBB Workspace"
authors = [
{ name = "OpenBB Team", email = "hello@openbb.finance" },
Expand Down
Loading