mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
ddec110b0e
In order to allow Coder Agents to use AI Gateway in OSS, we need to rehome the `aibridged`\-related code into the AGPL path. The HTTP API is only registered under enterprise so will still require the AI Governance Add-on to be present in order to use it, whereas Coder Agents uses an in-memory pipe to the same handlers.
10 lines
139 B
Go
10 lines
139 B
Go
package aibridged
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
type Request struct {
|
|
SessionKey string
|
|
APIKeyID string
|
|
InitiatorID uuid.UUID
|
|
}
|