Skip to content

Update readmes for new avatar plugins, don't require api key for simli init #3025

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bcherry
Copy link
Contributor

@bcherry bcherry commented Jul 25, 2025

docs will be live shortly

@bcherry bcherry requested a review from a team July 25, 2025 20:04
simli_avatar = simli.AvatarSession(
simli_config=simli.SimliConfig(
api_key=simliAPIKey,
face_id=simliFaceID,
face_id="cace3ef7-a4c4-425d-a8cf-a5358eb0c427",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a global face, everyone has access to it

Comment on lines +43 to +44
api_key: str = os.getenv("SIMLI_API_KEY")
face_id: str = os.getenv("SIMLI_FACE_ID")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
api_key: str = os.getenv("SIMLI_API_KEY")
face_id: str = os.getenv("SIMLI_FACE_ID")
api_key: NotGivenOr[str] = NOT_GIVEN
face_id: NotGivenOr[str] = NOT_GIVEN

and read the value from env if not given in AvatarSession ctor or start?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants