Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v12] Assist - API implementation #25956

Merged
merged 2 commits into from
May 10, 2023
Merged

Conversation

jakule
Copy link
Contributor

@jakule jakule commented May 9, 2023

Backport of #25810

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from kimlisa May 9, 2023 20:30
* Assist - API implementation

* Add Assistant CRUD test

* Move assistant API to a separate file.

* Rename GRPC methods
Fix comments

* Address PR comments

* Update GRPC API - addressing code review comments

* Move assist API to a new GRPC service

* Add Assistant RBAC rules to this backport.

* Add missing license

* Update comment.
* Move username and ID out of AssistantMessage

#25810 added username and conversation ID to AssistantMessage. They aren't needed inside the message and can be moved out of it.
This PR also fixes ` grpc: error while marshaling: proto: Marshal called with nil` in `CreateAssistantMessage`.

Note: It's safe to change protobuf numbers as this code hasn't been released or backported yet.

* Fix test

* make grpc
@jakule jakule force-pushed the jakule/v12/assist-enpoints branch from 739e221 to 55d3600 Compare May 10, 2023 15:29
@jakule jakule added this pull request to the merge queue May 10, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 10, 2023
@jakule jakule added this pull request to the merge queue May 10, 2023
Merged via the queue into branch/v12 with commit ba787d4 May 10, 2023
20 checks passed
@jakule jakule deleted the jakule/v12/assist-enpoints branch May 10, 2023 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants