(req contract.CreateSessionRequest)
| 334 | } |
| 335 | |
| 336 | func (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 | |
| 343 | func (h *BaseHandlers) lookupWorkspaceID(ctx context.Context, ref string) (string, error) { |
| 344 | return lookupWorkspaceID(ctx, h.transportName(), h.Workspaces, ref) |
no test coverage detected