model

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package model loads model provider configurations from workspace resources.

It resolves typed model definitions for runtime model discovery.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	*fs2.Service[provider.Config]
}

Service provides model data access operations

func New

func New(options ...fs2.Option[provider.Config]) *Service

New creates a new model service instance

func (*Service) Load

func (s *Service) Load(ctx context.Context, URL string) (*provider.Config, error)

Load resolves bare model names against the standard workspace folder before delegating to the generic FS loader so that callers can simply refer to "o3" instead of "models/o4-mini.yaml".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL