Skip to content

[v12] Assist - API implementation#25956

Merged
jakule merged 2 commits intobranch/v12from
jakule/v12/assist-enpoints
May 10, 2023
Merged

[v12] Assist - API implementation#25956
jakule merged 2 commits intobranch/v12from
jakule/v12/assist-enpoints

Conversation

@jakule
Copy link
Copy Markdown
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
jakule added 2 commits May 10, 2023 11:28
* 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
@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.

3 participants