Skip to content

bug: setting auto in character file fails to load client-auto #1049

Closed
@HashWarlock

Description

Describe the bug
Currently, when a character file wants to use the Auto Client, the agent will return an error.

["⛔ Error parsing character from ../characters/schlomo.character.json: Error: Character configuration validation failed:\nclients.2: Invalid enum value. Expected 'discord' | 'direct' | 'twitter' | 'telegram' | 'farcaster', received 'auto'"]

This is due to the types.ts file does not define an enum AUTO = "auto".

To Reproduce
Define the "clients": ["auto"], in the character file to reproduce the error.

Expected behavior
Expected behavior should start the auto client and print a log

 ["◎ running auto client..."] 

Screenshots
image

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions