forked from Blendman974/faceclaw
Add a Navigate app (requires a Mapbox API token)
This commit is contained in:
1 parent
3c2f53ed75
commit
bde70ac380
16 files changed
+2096
-4
No files matched your search
@@ -331,6 +331,16 @@ export const anthropicApiKeySetting = new ConfigSettingString({
|
||||
formatValue: (value) => (value ? `${value.slice(0, 6)}...` : "(not set)"),
|
||||
});
|
||||
|
||||
export const mapboxApiKeySetting = new ConfigSettingString({
|
||||
id: "mapbox-api-key",
|
||||
label: "Mapbox token",
|
||||
storageKey: "maps.mapboxApiKey",
|
||||
defaultValue: "",
|
||||
editorTitle: "Mapbox public token (pk.…)",
|
||||
glassesEditTitle: "Edit Mapbox token",
|
||||
formatValue: (value) => (value ? `${value.slice(0, 6)}...` : "(not set)"),
|
||||
});
|
||||
|
||||
export const terminalHostSetting = new ConfigSettingString({
|
||||
id: "terminal-host",
|
||||
label: "Host",
|
||||
|
||||
@@ -7,6 +7,7 @@ import {
|
||||
batteryDisplayModeSetting,
|
||||
brightnessSetting,
|
||||
elevenLabsApiKeySetting,
|
||||
mapboxApiKeySetting,
|
||||
openAiApiKeySetting,
|
||||
enumSettingMenuItem,
|
||||
firmwareDebugFlagsSetting,
|
||||
@@ -68,6 +69,7 @@ function settingsSections(): SettingsSection[] {
|
||||
textSettingMenuItem(elevenLabsApiKeySetting),
|
||||
textSettingMenuItem(openAiApiKeySetting),
|
||||
textSettingMenuItem(anthropicApiKeySetting),
|
||||
textSettingMenuItem(mapboxApiKeySetting),
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user