Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

379 B
Raw Blame
package agentdocument

import (
	"context"

	"github.com/simplexai-labs/linger/apps/teamhub/internal/agentauth"
)

type fakeAuthorizer struct {
	authorize func(context.Context, string, string) (agentauth.Authorization, error)
}

func (f fakeAuthorizer) Authorize(ctx context.Context, token, tool string) (agentauth.Authorization, error) {
	return f.authorize(ctx, token, tool)
}