Skip to content

feat(cli): publish inline documents at creation time - #5781

Open
Yzzz88 wants to merge 2 commits into
Tencent:mainfrom
Yzzz88:fix/publish-inline-document
Open

Yzzz88 wants to merge 2 commits into
Tencent:mainfrom
Yzzz88:fix/publish-inline-document

Conversation

@Yzzz88

@Yzzz88 Yzzz88 commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

When adding a short policy for retrieval, doc create saved a draft and I needed another write to reparse it. I verified the existing manual creation endpoint accepts status=publish and the returned document progressed from pending to completed. Expose that option as --publish, while preserving the default draft behavior.

Verification

go test -count=1 -run "TestCreate" ./cmd/doc in the CLI module.

@Yzzz88

Yzzz88 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Thank you for your time on this project. Regarding this change (publish inline documents at creation time), when you have a chance to review it, is there any additional context or validation you would like me to provide?

This branch has not been deployed

No deployments
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.

1 participant