Skip to content

Conversation

@RomneyDa
Copy link
Collaborator

@RomneyDa RomneyDa commented Oct 22, 2025

Description

prompt is handled separately for serve


Summary by cubic

Fixes serve mode to prepend the Agent file prompt to the initial user prompt, matching chat mode behavior and ensuring consistent agent context. Adds a shared helper to handle prompt merging safely.

  • Bug Fixes
    • Serve: load AgentFileService and prepend agentFile.prompt via prependPrompt before queuing the initial message.
    • Shared: add prependPrompt to promptProcessor and use it in chat.ts and serve.ts for consistent prompt handling.

@RomneyDa RomneyDa requested a review from a team as a code owner October 22, 2025 22:14
@RomneyDa RomneyDa requested review from sestinj and removed request for a team October 22, 2025 22:14
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Oct 22, 2025
@github-actions
Copy link

github-actions bot commented Oct 22, 2025

✅ Review Complete

Code Review Summary

⚠️ Continue API authentication failed. Please check your CONTINUE_API_KEY.


@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Oct 22, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Oct 22, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 22, 2025
@sestinj sestinj merged commit 4305358 into main Oct 22, 2025
67 of 70 checks passed
@sestinj sestinj deleted the dallin/prepend-agent-prompt-serve branch October 22, 2025 22:47
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Oct 22, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 22, 2025
@sestinj
Copy link
Contributor

sestinj commented Oct 29, 2025

🎉 This PR is included in version 1.31.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Oct 29, 2025

🎉 This PR is included in version 1.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Oct 29, 2025

🎉 This PR is included in version 1.28.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm This PR has been approved by a maintainer released size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants