MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / profile

Function profile

packages/agent-core/test/tools/agent.test.ts:894–907  ·  view source on GitHub ↗
(input: {
  readonly name: string;
  readonly description?: string;
  readonly whenToUse?: string;
  readonly tools?: readonly string[];
})

Source from the content-addressed store, hash-verified

892});
893
894function profile(input: {
895 readonly name: string;
896 readonly description?: string;
897 readonly whenToUse?: string;
898 readonly tools?: readonly string[];
899}): ResolvedAgentProfile {
900 return {
901 name: input.name,
902 description: input.description,
903 whenToUse: input.whenToUse,
904 systemPrompt: () => `${input.name} prompt`,
905 tools: [...(input.tools ?? [])],
906 };
907}

Callers 1

agent.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected