Skip to content

Commit

Permalink
feat(ai): support streaming (aws-amplify#899)
Browse files Browse the repository at this point in the history
  • Loading branch information
atierian authored Nov 6, 2024
1 parent cbe1775 commit 7b8ee57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ exports[`Conversation Route Introspection Visitor Metadata snapshot should gener
\\"isRequired\\": false,
\\"name\\": \\"onCreateAssistantResponsePirateChat\\",
\\"type\\": {
\\"model\\": \\"ConversationMessagePirateChat\\"
\\"nonModel\\": \\"ConversationMessageStreamPart\\"
},
\\"arguments\\": {
\\"conversationId\\": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function generateSubscriptionMetadata(routeName: string, modelName: string): Sch
isArray: false,
isRequired: false,
name: `onCreateAssistantResponse${routeName}`,
type: { model: modelName },
type: { nonModel: 'ConversationMessageStreamPart' },
arguments: {
'conversationId': {
name: 'conversationId',
Expand Down

0 comments on commit 7b8ee57

Please sign in to comment.