Skip to content
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

fix: pass runtime to video service #535

Merged
merged 2 commits into from
Nov 23, 2024

Conversation

0xFlicker
Copy link
Contributor

@0xFlicker 0xFlicker commented Nov 23, 2024

Relates to:

Risks

Low

Background

What does this PR do?

This lets me do video service work. Without these changes the video summarization would fail on accessing runtime.cacheManager

What kind of change is this?

Bug fix

Why are we doing this? Any context or related work?

I set up eliza and was getting exception generating videos (luma)

Documentation changes needed?

none

Testing

Where should a reviewer start?

See video.ts:processVideoFromUrl function. This function requires a runtime, thus the runtime is not optional in this implementation of IVideoService

Detailed testing steps

Discord username

0xflick

@0xFlicker 0xFlicker changed the title fix: pass runtime to video downloader fix: pass runtime to video service Nov 23, 2024
@monilpat
Copy link
Collaborator

LGTM!

@jkbrooks jkbrooks merged commit b08f3f7 into elizaOS:main Nov 23, 2024
2 checks passed
@0xFlicker 0xFlicker deleted the fix-videoservice-cache branch November 23, 2024 16:51
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.

3 participants