@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
32 lines (31 loc) • 984 B
TypeScript
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements';
import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition';
/**
* FROM commitment definition
*
* The FROM commitment tells the agent that its `agentSource` is inherited from another agent.
*
* Example usage in agent source:
*
* ```book
* FROM https://s6.ptbk.io/benjamin-white
* ```
*
* @private [🪔] Maybe export the commitments through some package
*/
export declare class FromCommitmentDefinition extends BaseCommitmentDefinition<'FROM'> {
constructor(type?: 'FROM');
/**
* Short one-line description of FROM.
*/
get description(): string;
/**
* Icon for this commitment.
*/
get icon(): string;
/**
* Markdown documentation for FROM commitment.
*/
get documentation(): string;
applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements;
}