Skip to content

fix: rename BasicAgent to BuiltInAgent and add deprecation#53

Merged
ranst91 merged 1 commit into
mainfrom
fix/rename-basicagent
Dec 12, 2025
Merged

fix: rename BasicAgent to BuiltInAgent and add deprecation#53
ranst91 merged 1 commit into
mainfrom
fix/rename-basicagent

Conversation

@ranst91

@ranst91 ranst91 commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

No description provided.

}

/**
* @deprecated Use BuiltInAgent instead

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we add the import path path on a newline as well please?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It's exactly the same path in this case

export class BasicAgent extends BuiltInAgent {
constructor(config: BuiltInAgentConfiguration) {
super(config);
console.warn("BasicAgent is deprecated, use BuiltInAgent instead");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice, this is a clean way to do this.

@ranst91 ranst91 merged commit 8309772 into main Dec 12, 2025
7 checks passed
@ranst91 ranst91 deleted the fix/rename-basicagent branch December 12, 2025 10:03
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