Skip to content

Commit

Permalink
[js] Fixing response item model bug. (#60)
Browse files Browse the repository at this point in the history
[py] Bumping version
  • Loading branch information
glecaros authored Oct 25, 2024
1 parent c6cdbd8 commit 9bc4714
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion javascript/standalone/src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,17 +282,18 @@ export type ResponseItemContentPart =

export interface ResponseItemBase {
id?: string;
status: ResponseItemStatus;
}

export interface ResponseMessageItem extends ResponseItemBase {
type: MessageItemType;
status: ResponseItemStatus;
role: MessageRole;
content: ResponseItemContentPart[];
}

export interface ResponseFunctionCallItem extends ResponseItemBase {
type: "function_call";
status: ResponseItemStatus;
name: string;
call_id: string;
arguments: string;
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "rtclient"
version = "0.5.1"
version = "0.5.2"
description = "A client for the RT API"
authors = ["Microsoft Corporation"]

Expand Down

0 comments on commit 9bc4714

Please sign in to comment.