Skip to content

Commit ee878f7

Browse files
Add Bedrock SDK integration and chat functionality
- Added @aws-sdk/client-bedrock-runtime dependency to package.json and package-lock.json. - Implemented useChat hook for managing chat sessions and messages. - Created bedrock.service.ts for interacting with the Bedrock API, including methods for creating sessions and sending messages. - Updated Android Gradle files to include capacitor-filesystem for enhanced functionality.
1 parent d9a14c1 commit ee878f7

File tree

6 files changed

+2754
-665
lines changed

6 files changed

+2754
-665
lines changed

frontend/android/app/capacitor.build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ android {
1010
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
1111
dependencies {
1212
implementation project(':capacitor-app')
13+
implementation project(':capacitor-filesystem')
1314
implementation project(':capacitor-haptics')
1415
implementation project(':capacitor-keyboard')
1516
implementation project(':capacitor-status-bar')

frontend/android/capacitor.settings.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/
55
include ':capacitor-app'
66
project(':capacitor-app').projectDir = new File('../node_modules/@capacitor/app/android')
77

8+
include ':capacitor-filesystem'
9+
project(':capacitor-filesystem').projectDir = new File('../node_modules/@capacitor/filesystem/android')
10+
811
include ':capacitor-haptics'
912
project(':capacitor-haptics').projectDir = new File('../node_modules/@capacitor/haptics/android')
1013

0 commit comments

Comments
 (0)