(
workspaceId: WorkspaceId,
streamInfo?: Pick<WorkspaceStreamInfo, "workspaceName">
)
| 615 | } |
| 616 | |
| 617 | private getWorkspaceLogger( |
| 618 | workspaceId: WorkspaceId, |
| 619 | streamInfo?: Pick<WorkspaceStreamInfo, "workspaceName"> |
| 620 | ): Logger { |
| 621 | const fields: Record<string, unknown> = { workspaceId }; |
| 622 | if (streamInfo?.workspaceName) { |
| 623 | fields.workspaceName = streamInfo.workspaceName; |
| 624 | } |
| 625 | return log.withFields(fields); |
| 626 | } |
| 627 | private resolveMetadataModel(modelString: string): string { |
| 628 | try { |
| 629 | return resolveModelForMetadata(modelString, this.getProvidersConfig()); |
no outgoing calls
no test coverage detected