Skip to content

Commit 1895da8

Browse files
PaoloRollojnsdls
authored andcommitted
feat: update conversation result.
1 parent 7a7ae36 commit 1895da8

File tree

2 files changed

+74
-43
lines changed

2 files changed

+74
-43
lines changed

packages/nebula/src/client/types.gen.ts

Lines changed: 66 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1714,6 +1714,10 @@ export type ConversationListResponse = {
17141714
* Id
17151715
*/
17161716
id: string;
1717+
/**
1718+
* Title
1719+
*/
1720+
title?: string;
17171721
};
17181722

17191723
/**
@@ -1724,10 +1728,14 @@ export type ConversationMessageResponseReadable = {
17241728
* Id
17251729
*/
17261730
id: string;
1731+
/**
1732+
* Inputs
1733+
*/
1734+
inputs?: Array<ChatMessage>;
17271735
/**
17281736
* Responses
17291737
*/
1730-
responses?: Array<ChatMessage> | null;
1738+
responses?: Array<ChatMessage>;
17311739
/**
17321740
* Steps
17331741
*/
@@ -1738,11 +1746,11 @@ export type ConversationMessageResponseReadable = {
17381746
| ({
17391747
type: "image";
17401748
} & AgentStepImage)
1741-
> | null;
1749+
>;
17421750
/**
17431751
* Transactions
17441752
*/
1745-
transactions?: Array<AgentTransaction> | null;
1753+
transactions?: Array<AgentTransaction>;
17461754
usage?: AgentTaskUsageReadable | null;
17471755
};
17481756

@@ -1754,10 +1762,14 @@ export type ConversationMessageResponseWritable = {
17541762
* Id
17551763
*/
17561764
id: string;
1765+
/**
1766+
* Inputs
1767+
*/
1768+
inputs?: Array<ChatMessage>;
17571769
/**
17581770
* Responses
17591771
*/
1760-
responses?: Array<ChatMessage> | null;
1772+
responses?: Array<ChatMessage>;
17611773
/**
17621774
* Steps
17631775
*/
@@ -1768,11 +1780,11 @@ export type ConversationMessageResponseWritable = {
17681780
| ({
17691781
type: "image";
17701782
} & AgentStepImage)
1771-
> | null;
1783+
>;
17721784
/**
17731785
* Transactions
17741786
*/
1775-
transactions?: Array<AgentTransaction> | null;
1787+
transactions?: Array<AgentTransaction>;
17761788
usage?: AgentTaskUsageWritable | null;
17771789
};
17781790

@@ -1785,25 +1797,33 @@ export type ConversationResponseReadable = {
17851797
*/
17861798
id: string;
17871799
/**
1788-
* Responses
1800+
* Title
17891801
*/
1790-
responses?: Array<ChatMessage> | null;
1802+
title: string;
17911803
/**
1792-
* Steps
1804+
* User Id
17931805
*/
1794-
steps?: Array<
1795-
| ({
1796-
type: "text";
1797-
} & AgentStepText)
1798-
| ({
1799-
type: "image";
1800-
} & AgentStepImage)
1801-
> | null;
1806+
user_id: string;
18021807
/**
1803-
* Transactions
1808+
* Agent Id
18041809
*/
1805-
transactions?: Array<AgentTransaction> | null;
1806-
usage?: AgentTaskUsageReadable | null;
1810+
agent_id: string;
1811+
/**
1812+
* Is Public
1813+
*/
1814+
is_public: boolean;
1815+
/**
1816+
* Created At
1817+
*/
1818+
created_at: string;
1819+
/**
1820+
* Updated At
1821+
*/
1822+
updated_at: string;
1823+
/**
1824+
* Messages
1825+
*/
1826+
messages?: Array<ConversationMessageResponseReadable>;
18071827
};
18081828

18091829
/**
@@ -1815,25 +1835,33 @@ export type ConversationResponseWritable = {
18151835
*/
18161836
id: string;
18171837
/**
1818-
* Responses
1838+
* Title
18191839
*/
1820-
responses?: Array<ChatMessage> | null;
1840+
title: string;
18211841
/**
1822-
* Steps
1842+
* User Id
18231843
*/
1824-
steps?: Array<
1825-
| ({
1826-
type: "text";
1827-
} & AgentStepText)
1828-
| ({
1829-
type: "image";
1830-
} & AgentStepImage)
1831-
> | null;
1844+
user_id: string;
18321845
/**
1833-
* Transactions
1846+
* Agent Id
18341847
*/
1835-
transactions?: Array<AgentTransaction> | null;
1836-
usage?: AgentTaskUsageWritable | null;
1848+
agent_id: string;
1849+
/**
1850+
* Is Public
1851+
*/
1852+
is_public: boolean;
1853+
/**
1854+
* Created At
1855+
*/
1856+
created_at: string;
1857+
/**
1858+
* Updated At
1859+
*/
1860+
updated_at: string;
1861+
/**
1862+
* Messages
1863+
*/
1864+
messages?: Array<ConversationMessageResponseWritable>;
18371865
};
18381866

18391867
/**
@@ -2735,6 +2763,10 @@ export type UserConversationResponse = {
27352763
* Updated At
27362764
*/
27372765
updated_at: string;
2766+
/**
2767+
* Agent Id
2768+
*/
2769+
agent_id: string;
27382770
};
27392771

27402772
/**

pnpm-lock.yaml

Lines changed: 8 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)