(
profile: ResolvedAgentProfile,
context?: PreparedSystemPromptContext,
brandHome?: string,
)
| 273 | } |
| 274 | |
| 275 | useProfile( |
| 276 | profile: ResolvedAgentProfile, |
| 277 | context?: PreparedSystemPromptContext, |
| 278 | brandHome?: string, |
| 279 | ): void { |
| 280 | this.setActiveProfile(profile, brandHome); |
| 281 | this.updateSystemPromptFromProfile(profile, context); |
| 282 | this.tools.setActiveTools(profile.tools); |
| 283 | } |
| 284 | |
| 285 | setActiveProfile(profile: ResolvedAgentProfile, brandHome?: string): void { |
| 286 | this.activeProfile = profile; |