MCPcopy Create free account
hub / github.com/compozy/agh / validateCreateSessionRequest

Method validateCreateSessionRequest

internal/api/core/workspaces.go:336–341  ·  view source on GitHub ↗
(req contract.CreateSessionRequest)

Source from the content-addressed store, hash-verified

334}
335
336func (h *BaseHandlers) validateCreateSessionRequest(req contract.CreateSessionRequest) error {
337 if err := validateCreateSessionRequest(h.transportName(), req.Workspace, req.WorkspacePath); err != nil {
338 return err
339 }
340 return validateCreateSessionRuntimeOverrides(h.transportName(), req.Provider, req.Model, req.ReasoningEffort)
341}
342
343func (h *BaseHandlers) lookupWorkspaceID(ctx context.Context, ref string) (string, error) {
344 return lookupWorkspaceID(ctx, h.transportName(), h.Workspaces, ref)

Callers 1

CreateSessionMethod · 0.95

Calls 3

transportNameMethod · 0.95

Tested by

no test coverage detected