Skip to content

add instructions_mode option to generate_reply#5187

Closed
longcw wants to merge 3 commits intomainfrom
longc/generate-reply-instructions-pos
Closed

add instructions_mode option to generate_reply#5187
longcw wants to merge 3 commits intomainfrom
longc/generate-reply-instructions-pos

Conversation

@longcw
Copy link
Copy Markdown
Contributor

@longcw longcw commented Mar 21, 2026

No description provided.

@longcw longcw marked this pull request as ready for review March 21, 2026 01:32
@chenghao-mou chenghao-mou requested a review from a team March 21, 2026 01:32
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

Copy link
Copy Markdown
Member

@chenghao-mou chenghao-mou left a comment

Choose a reason for hiding this comment

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

lgtm. One nit about the names.

user_message: NotGivenOr[llm.ChatMessage | None] = NOT_GIVEN,
chat_ctx: NotGivenOr[llm.ChatContext | None] = NOT_GIVEN,
instructions: NotGivenOr[str | Instructions] = NOT_GIVEN,
instructions_pos: Literal["top", "end"] = "top",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: should we use something more descriptive? like merge&append?

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.

how about inline/append?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

yeah, sg.

@longcw longcw changed the title add instructions_pos option to generate_reply add instructions_mode option to generate_reply Mar 25, 2026
@longcw
Copy link
Copy Markdown
Contributor Author

longcw commented Mar 31, 2026

in favor of #5287

@longcw longcw closed this Mar 31, 2026
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