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

adds streaming-whisper type #166

Merged
merged 4 commits into from
Dec 11, 2024
Merged

Conversation

rpurdel
Copy link
Contributor

@rpurdel rpurdel commented Dec 11, 2024

No description provided.

Copy link
Member

@aaronkvanmeerten aaronkvanmeerten left a comment

Choose a reason for hiding this comment

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

This looks right, except I wonder about 'streaming-whisper'.... why not just call it 'whisper'? we don't have any plans for any other sort, correct?

@@ -110,12 +110,19 @@ export interface JVBStatus {
graceful_shutdown: boolean;
}

export interface whisperStatus {
Copy link
Member

Choose a reason for hiding this comment

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

Interface names are first-letter capital by convention to differentiate them from the actual instance with values

Suggested change
export interface whisperStatus {
export interface WhisperStatus {

@@ -12,6 +12,7 @@ import InstanceStore, {
JigasiStatus,
JVBStatus,
NomadStatus,
whisperStatus,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
whisperStatus,
WhisperStatus,

export interface InstanceStatus {
provisioning: boolean;
jibriStatus?: JibriStatus;
jvbStatus?: JVBStatus;
jigasiStatus?: JigasiStatus;
nomadStatus?: NomadStatus;
whisperStatus?: whisperStatus;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
whisperStatus?: whisperStatus;
whisperStatus?: WhisperStatus;

@@ -116,6 +117,9 @@ export class InstanceTracker {
case 'JVB':
instanceState.status.jvbStatus = <JVBStatus>report.stats;
break;
case 'whisper':
instanceState.status.whisperStatus = <whisperStatus>report.stats;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
instanceState.status.whisperStatus = <whisperStatus>report.stats;
instanceState.status.whisperStatus = <WhisperStatus>report.stats;

@aaronkvanmeerten aaronkvanmeerten merged commit a8fa8a4 into master Dec 11, 2024
1 check passed
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