Skip to content

Commit 3d22a30

Browse files
feat: initial implementation of multimodal runner with lfm vlm
1 parent 19cc916 commit 3d22a30

File tree

19 files changed

+1528
-31
lines changed

19 files changed

+1528
-31
lines changed

apps/llm/app.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
},
5555
"entitlements": {
5656
"com.apple.developer.kernel.increased-memory-limit": true
57-
}
57+
},
58+
"appleTeamId": "B357MU264T"
5859
},
5960
"android": {
6061
"adaptiveIcon": {
@@ -64,7 +65,11 @@
6465
"package": "com.anonymous.llm",
6566
"permissions": [
6667
"android.permission.READ_CALENDAR",
67-
"android.permission.WRITE_CALENDAR"
68+
"android.permission.WRITE_CALENDAR",
69+
"android.permission.MODIFY_AUDIO_SETTINGS",
70+
"android.permission.FOREGROUND_SERVICE",
71+
"android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK",
72+
"android.permission.RECORD_AUDIO"
6873
]
6974
},
7075
"web": {

apps/llm/app/_layout.tsx

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,37 +52,45 @@ export default function _layout() {
5252
headerTitleStyle: { color: ColorPalette.primary },
5353
}}
5454
>
55-
<Drawer.Screen
55+
{/* <Drawer.Screen
5656
name="llm/index"
5757
options={{
5858
drawerLabel: 'LLM',
5959
title: 'LLM',
6060
headerTitleStyle: { color: ColorPalette.primary },
6161
}}
62-
/>
63-
<Drawer.Screen
62+
/> */}
63+
{/* <Drawer.Screen
6464
name="llm_tool_calling/index"
6565
options={{
6666
drawerLabel: 'LLM Tool Calling',
6767
title: 'LLM Tool Calling',
6868
headerTitleStyle: { color: ColorPalette.primary },
6969
}}
70-
/>
71-
<Drawer.Screen
70+
/> */}
71+
{/* <Drawer.Screen
7272
name="llm_structured_output/index"
7373
options={{
7474
drawerLabel: 'LLM Structured Output',
7575
title: 'LLM Structured Output',
7676
headerTitleStyle: { color: ColorPalette.primary },
7777
}}
78-
/>
79-
<Drawer.Screen
78+
/> */}
79+
{/* <Drawer.Screen
8080
name="voice_chat/index"
8181
options={{
8282
drawerLabel: 'Voice Chat',
8383
title: 'Voice Chat',
8484
headerTitleStyle: { color: ColorPalette.primary },
8585
}}
86+
/> */}
87+
<Drawer.Screen
88+
name="multimodal_llm/index"
89+
options={{
90+
drawerLabel: 'Multimodal LLM (VLM)',
91+
title: 'Multimodal LLM',
92+
headerTitleStyle: { color: ColorPalette.primary },
93+
}}
8694
/>
8795
<Drawer.Screen
8896
name="index"

apps/llm/app/index.tsx

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,9 @@ export default function Home() {
1313
<View style={styles.buttonContainer}>
1414
<TouchableOpacity
1515
style={styles.button}
16-
onPress={() => router.navigate('llm/')}
16+
onPress={() => router.navigate('multimodal_llm/')}
1717
>
18-
<Text style={styles.buttonText}>LLM</Text>
19-
</TouchableOpacity>
20-
<TouchableOpacity
21-
style={styles.button}
22-
onPress={() => router.navigate('llm_tool_calling/')}
23-
>
24-
<Text style={styles.buttonText}>LLM Tool Calling</Text>
25-
</TouchableOpacity>
26-
<TouchableOpacity
27-
style={styles.button}
28-
onPress={() => router.navigate('llm_structured_output/')}
29-
>
30-
<Text style={styles.buttonText}>LLM Structured Output</Text>
31-
</TouchableOpacity>
32-
<TouchableOpacity
33-
style={styles.button}
34-
onPress={() => router.navigate('voice_chat/')}
35-
>
36-
<Text style={styles.buttonText}>Voice Chat</Text>
18+
<Text style={styles.buttonText}>Multimodal LLM (VLM)</Text>
3719
</TouchableOpacity>
3820
</View>
3921
</View>

0 commit comments

Comments
 (0)