Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

456 B
Raw Blame
import { Command } from 'nestjs-command';
import { Injectable } from '@nestjs/common';
import { AgentGraphService } from '@gitroom/nestjs-libraries/agent/agent.graph.service';

@Injectable()
export class AgentRun {
  constructor(private _agentGraphService: AgentGraphService) {}
  @Command({
    command: 'run:agent',
    describe: 'Run the agent',
  })
  async agentRun() {
    console.log(await this._agentGraphService.createGraph('hello', true));
  }
}