fix: type error
This commit is contained in:
parent
92937033da
commit
93f696f429
1 changed files with 2 additions and 2 deletions
|
|
@ -291,7 +291,7 @@ async function unrollAssistantWithConfig(
|
|||
apiBase: env.apiBase,
|
||||
rootPath:
|
||||
packageIdentifier.uriType === "file"
|
||||
? dirname(packageIdentifier.filePath)
|
||||
? dirname(packageIdentifier.fileUri)
|
||||
: undefined,
|
||||
}),
|
||||
{
|
||||
|
|
@ -328,7 +328,7 @@ async function loadConfigYaml(
|
|||
apiClient: DefaultApiInterface,
|
||||
): Promise<AssistantUnrolled> {
|
||||
return await unrollAssistantWithConfig(
|
||||
{ filePath, uriType: "file" },
|
||||
{ fileUri: filePath, uriType: "file" },
|
||||
accessToken,
|
||||
organizationId,
|
||||
apiClient,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue