Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
MT_BS_ID | No | Bluesky SNS registration address | |
MT_SD_KEY | No | Stability.ai image generation API key | |
MT_BS_PASS | No | Bluesky SNS password | |
MT_NO_IMAGE | No | Optional: true = do not output image, not specified = output image if possible | |
MT_BS_HANDLE | No | Bluesky SNS handle name: e.g. xxxxxxxx.bsky.social | |
MT_COMFY_URL | No | Optional: Generate image using ComfyUI API at specified URL. Example: http://192.168.1.100:8188 | |
MT_MOVE_MODE | No | Optional: Specify whether the movement mode is realtime or skip. Default realtime | realtime |
MT_PIXAI_KEY | No | pixAi API key | |
MT_REMBG_URL | No | rembg API URL | |
MT_REMBG_PATH | No | Absolute path of the installed rembg cli | |
MT_TIME_SCALE | No | Optional: Scale of travel time on real roads duration. Default is 4 | 4 |
MT_IMAGE_WIDTH | No | Optional: Output image width (pixels). Default is 512 | 512 |
MT_MAP_API_URL | No | Optional: Map API custom endpoint. Example: direction=https://xxxx,places=https://yyyy | |
MT_SQLITE_PATH | No | db save path: e.g. %USERPROFILE%/Desktop/traveler.sqlite, $HOME/traveler.sqlite | |
MT_COMFY_PARAMS | No | Optional: Variable values to send to the workflow via comfyUI API | |
MT_FILTER_TOOLS | No | Optional: Directly filter the tools to be used. All are available if not specified. e.g. tips,set_traveler_location | |
MT_BODY_HW_RATIO | No | Optional: Acceptable avatar image aspect ratios. Default 1.5~2.3 | 1.5~2.3 |
MT_GOOGLE_MAP_KEY | No | Google Map API key with permissions for Street View Static API, Places API, Time Zone API, and Directions API | |
MT_PIXAI_MODEL_ID | No | Optional: pixAi ModelId, if not set use default model 1648918127446573124 | 1648918127446573124 |
MT_BODY_AREA_RATIO | No | Optional: Acceptable avatar image area ratio. Default 0.042 | 0.042 |
MT_COMFY_WORKFLOW_I2I | No | Optional: Path of API workflow file when image to image in ComfyUI. If not specified: assets/comfy/i2i_sample.json | assets/comfy/i2i_sample.json |
MT_COMFY_WORKFLOW_T2I | No | Optional: Path to API workflow file when using text to image with ComfyUI. If not specified: assets/comfy/t2i_sample.json | assets/comfy/t2i_sample.json |
MT_FIXED_MODEL_PROMPT | No | Optional: Fixed avatar generation prompt. You will no longer be able to change your avatar during conversations. | |
MT_BODY_WINDOW_RATIO_H | No | Optional: Avatar composite window aspect ratio. Default 0.75 | 0.75 |
MT_BODY_WINDOW_RATIO_W | No | Optional: Avatar composite window horizontal ratio. Default 0.5 | 0.5 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
tips | Inform you of recommended actions for traveler |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
role.txt | The purpose and role of AI |
roleWithSns.txt | The purpose and role of AI with SNS |
carBattle.txt | Play the fantasy role playing |
credit.txt | credit of this component |
setting.txt | setting of traveler |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
set_traveler_location | Set the traveler's current address |
tips | Inform you of recommended actions for your device |