3265
return {};
3266
}
3268
>
const [model, agent, cwd, customizationDirectory, workspaceless] = await Promise.all([
3269
>
ref.object.getMetadata(CopilotAgent._META_MODEL),
3270
>
ref.object.getMetadata(CopilotAgent._META_AGENT),
3271
>
ref.object.getMetadata(CopilotAgent._META_CWD),
3272
>
ref.object.getMetadata(CopilotAgent._META_CUSTOMIZATION_DIRECTORY),
3273
>
ref.object.getMetadata(AH_META_WORKSPACELESS_DB_KEY),
3274
>
]);
3275
>
return {
3276
>
model: this._parseModelSelection(model),
3277
>
agent: this._parseAgentSelection(agent),
3278
workingDirectory: cwd ? URI.parse(cwd) : undefined,
3279
customizationDirectory: customizationDirectory ? URI.parse(customizationDirectory) : undefined,