Skip to content

feat: agent changes#799

Open
LAVI9966 wants to merge 1 commit intoWalkover-Web-Solution:testingfrom
LAVI9966:agentchangesnode
Open

feat: agent changes#799
LAVI9966 wants to merge 1 commit intoWalkover-Web-Solution:testingfrom
LAVI9966:agentchangesnode

Conversation

@LAVI9966
Copy link
Contributor

@LAVI9966 LAVI9966 commented Mar 3, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 3, 2026 16:50
Copy link
Contributor

@windsurf-bot windsurf-bot bot left a comment

Choose a reason for hiding this comment

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

💡 To request another review, post a new comment with "/windsurf-review".

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the "create agent" flow to leverage AI-generated configuration when a purpose field is supplied. It also enriches the AI prompt context with available API call tools and folder embed fields so the AI can produce a fully pre-configured agent.

Changes:

  • AI-context enrichment: When purpose is provided, available API call functions (tools) and folder embed fields are now fetched and included as variables sent to the AI middleware.
  • AI-driven agent creation: The AI response is used directly as the agent configuration (model, service, name, fall_back, gpt_memory, etc.) instead of extracting a small subset of fields as before.
  • Minor cleanup: Removed an extraneous blank line in aiCall.utils.js.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.

File Description
src/controllers/agentConfig.controller.js Core logic change: fetches API call tools, passes enriched variables to AI, and uses the full AI response to populate the createAgent call when purpose is set.
src/services/utils/aiCall.utils.js Trivial whitespace removal (blank line deleted).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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