Skip to content
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

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Remove step_name and success columns
ALTER TABLE flow_conversation_message DROP COLUMN IF EXISTS step_name;
ALTER TABLE flow_conversation_message DROP COLUMN IF EXISTS success;
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- Add up migration script here

-- Extend MESSAGE_TYPE enum to include 'tool'
ALTER TYPE MESSAGE_TYPE ADD VALUE 'tool';

-- Add step_name and success columns to flow_conversation_message table
ALTER TABLE flow_conversation_message ADD COLUMN step_name VARCHAR(255);
ALTER TABLE flow_conversation_message ADD COLUMN success BOOLEAN DEFAULT TRUE NOT NULL;
22 changes: 17 additions & 5 deletions backend/windmill-api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6529,15 +6529,22 @@ paths:
- flow_conversation
parameters:
- $ref: "#/components/parameters/WorkspaceId"
- $ref: "#/components/parameters/Page"
- $ref: "#/components/parameters/PerPage"
- name: conversation_id
description: conversation id
in: path
required: true
schema:
type: string
format: uuid
- $ref: "#/components/parameters/Page"
- $ref: "#/components/parameters/PerPage"
- name: after_id
description: id to fetch only the messages after that id
in: query
required: false
schema:
type: string
format: uuid
responses:
"200":
description: conversation messages
Expand Down Expand Up @@ -14805,7 +14812,7 @@ components:
description: The conversation this message belongs to
message_type:
type: string
enum: [user, assistant, system]
enum: [user, assistant, system, tool]
description: Type of the message
content:
type: string
Expand All @@ -14819,6 +14826,12 @@ components:
type: string
format: date-time
description: When the message was created
step_name:
type: string
description: The step name that produced that message
success:
type: boolean
description: Whether the message is a success

EndpointTool:
type: object
Expand Down Expand Up @@ -17332,7 +17345,7 @@ components:
- OK
- SKIP
- FAIL

DucklakeInstanceCatalogDbStatusLogs:
type: object
properties:
Expand Down Expand Up @@ -17368,7 +17381,6 @@ components:
description: Error message if the operation failed
example: "Connection timeout"


NewSqsTrigger:
type: object
properties:
Expand Down
Loading