Skip to content

Commit 131a76a

Browse files
sync(openapi): agent-sdk/main 84fe9f0 (#90)
Co-authored-by: xingyaoww <[email protected]>
1 parent 5622056 commit 131a76a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

openapi/agent-sdk.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@
952952
},
953953
"tools": [
954954
{
955-
"name": "BashTool"
955+
"name": "TerminalTool"
956956
},
957957
{
958958
"name": "FileEditorTool"
@@ -2198,7 +2198,7 @@
21982198
"description": "List of tools to initialize for the agent.",
21992199
"examples": [
22002200
{
2201-
"name": "BashTool",
2201+
"name": "TerminalTool",
22022202
"params": {}
22032203
},
22042204
{
@@ -2339,7 +2339,7 @@
23392339
"llm"
23402340
],
23412341
"title": "Agent",
2342-
"description": "Main agent implementation for OpenHands.\n\nThe Agent class provides the core functionality for running AI agents that can\ninteract with tools, process messages, and execute actions. It inherits from\nAgentBase and implements the agent execution logic.\n\nExample:\n >>> from openhands.sdk import LLM, Agent, Tool\n >>> llm = LLM(model=\"claude-sonnet-4-20250514\", api_key=SecretStr(\"key\"))\n >>> tools = [Tool(name=\"BashTool\"), Tool(name=\"FileEditorTool\")]\n >>> agent = Agent(llm=llm, tools=tools)"
2342+
"description": "Main agent implementation for OpenHands.\n\nThe Agent class provides the core functionality for running AI agents that can\ninteract with tools, process messages, and execute actions. It inherits from\nAgentBase and implements the agent execution logic.\n\nExample:\n >>> from openhands.sdk import LLM, Agent, Tool\n >>> llm = LLM(model=\"claude-sonnet-4-20250514\", api_key=SecretStr(\"key\"))\n >>> tools = [Tool(name=\"TerminalTool\"), Tool(name=\"FileEditorTool\")]\n >>> agent = Agent(llm=llm, tools=tools)"
23432343
},
23442344
"AgentContext-Output": {
23452345
"properties": {
@@ -5565,7 +5565,7 @@
55655565
"version": {
55665566
"type": "string",
55675567
"title": "Version",
5568-
"default": "1.0.0a5"
5568+
"default": "1.0.0"
55695569
},
55705570
"docs": {
55715571
"type": "string",
@@ -6215,9 +6215,9 @@
62156215
"name": {
62166216
"type": "string",
62176217
"title": "Name",
6218-
"description": "Name of the tool class, e.g., 'BashTool'. Import it from an `openhands.tools.<module>` subpackage.",
6218+
"description": "Name of the tool class, e.g., 'TerminalTool'. Import it from an `openhands.tools.<module>` subpackage.",
62196219
"examples": [
6220-
"BashTool",
6220+
"TerminalTool",
62216221
"FileEditorTool",
62226222
"TaskTrackerTool"
62236223
]
@@ -6520,14 +6520,14 @@
65206520
{
65216521
"$ref": "#/components/schemas/BrowserTypeAction"
65226522
},
6523-
{
6524-
"$ref": "#/components/schemas/ExecuteBashAction"
6525-
},
65266523
{
65276524
"$ref": "#/components/schemas/FileEditorAction"
65286525
},
65296526
{
65306527
"$ref": "#/components/schemas/TaskTrackerAction"
6528+
},
6529+
{
6530+
"$ref": "#/components/schemas/ExecuteBashAction"
65316531
}
65326532
],
65336533
"discriminator": {
@@ -6547,9 +6547,9 @@
65476547
"openhands__tools__browser_use__definition__BrowserScrollAction-Output__1": "#/components/schemas/BrowserScrollAction",
65486548
"openhands__tools__browser_use__definition__BrowserSwitchTabAction-Output__1": "#/components/schemas/BrowserSwitchTabAction",
65496549
"openhands__tools__browser_use__definition__BrowserTypeAction-Output__1": "#/components/schemas/BrowserTypeAction",
6550-
"openhands__tools__execute_bash__definition__ExecuteBashAction-Output__1": "#/components/schemas/ExecuteBashAction",
65516550
"openhands__tools__file_editor__definition__FileEditorAction-Output__1": "#/components/schemas/FileEditorAction",
6552-
"openhands__tools__task_tracker__definition__TaskTrackerAction-Output__1": "#/components/schemas/TaskTrackerAction"
6551+
"openhands__tools__task_tracker__definition__TaskTrackerAction-Output__1": "#/components/schemas/TaskTrackerAction",
6552+
"openhands__tools__terminal__definition__ExecuteBashAction-Output__1": "#/components/schemas/ExecuteBashAction"
65536553
}
65546554
},
65556555
"title": "Action"
@@ -6630,14 +6630,14 @@
66306630
{
66316631
"$ref": "#/components/schemas/BrowserObservation"
66326632
},
6633-
{
6634-
"$ref": "#/components/schemas/ExecuteBashObservation"
6635-
},
66366633
{
66376634
"$ref": "#/components/schemas/FileEditorObservation"
66386635
},
66396636
{
66406637
"$ref": "#/components/schemas/TaskTrackerObservation"
6638+
},
6639+
{
6640+
"$ref": "#/components/schemas/ExecuteBashObservation"
66416641
}
66426642
],
66436643
"discriminator": {
@@ -6647,9 +6647,9 @@
66476647
"openhands__sdk__tool__builtins__finish__FinishObservation-Output__1": "#/components/schemas/FinishObservation",
66486648
"openhands__sdk__tool__builtins__think__ThinkObservation-Output__1": "#/components/schemas/ThinkObservation",
66496649
"openhands__tools__browser_use__definition__BrowserObservation-Output__1": "#/components/schemas/BrowserObservation",
6650-
"openhands__tools__execute_bash__definition__ExecuteBashObservation-Output__1": "#/components/schemas/ExecuteBashObservation",
66516650
"openhands__tools__file_editor__definition__FileEditorObservation-Output__1": "#/components/schemas/FileEditorObservation",
6652-
"openhands__tools__task_tracker__definition__TaskTrackerObservation-Output__1": "#/components/schemas/TaskTrackerObservation"
6651+
"openhands__tools__task_tracker__definition__TaskTrackerObservation-Output__1": "#/components/schemas/TaskTrackerObservation",
6652+
"openhands__tools__terminal__definition__ExecuteBashObservation-Output__1": "#/components/schemas/ExecuteBashObservation"
66536653
}
66546654
},
66556655
"title": "Observation"

0 commit comments

Comments
 (0)