Skip to content

Commit 757922d

Browse files
committed
feat(mcp): add in-process scheduling stubs
Assisted-by: Hephaestus:openai/gpt-5.5 Signed-off-by: Owen Adirah <owenadira@gmail.com>
1 parent 20e19e0 commit 757922d

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

pkg/mcp/localaitools/inproc/client.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,22 @@ func (c *Client) ListNodes(_ context.Context) ([]localaitools.Node, error) {
501501
return []localaitools.Node{}, nil
502502
}
503503

504+
func (c *Client) ListScheduling(_ context.Context) ([]localaitools.ModelSchedulingConfig, error) {
505+
return []localaitools.ModelSchedulingConfig{}, nil
506+
}
507+
508+
func (c *Client) GetScheduling(_ context.Context, _ string) (*localaitools.ModelSchedulingConfig, error) {
509+
return nil, errors.New("model scheduling is only available in distributed mode")
510+
}
511+
512+
func (c *Client) SetScheduling(_ context.Context, _ localaitools.SetSchedulingRequest) (*localaitools.ModelSchedulingConfig, error) {
513+
return nil, errors.New("model scheduling is only available in distributed mode")
514+
}
515+
516+
func (c *Client) DeleteScheduling(_ context.Context, _ string) error {
517+
return errors.New("model scheduling is only available in distributed mode")
518+
}
519+
504520
func (c *Client) SetNodeVRAMBudget(_ context.Context, _, _ string) error {
505521
// The node registry is a distributed-mode concern owned by the Application
506522
// layer and is not wired into the in-process client (which also returns an

0 commit comments

Comments
 (0)