view benchmark/bun-http-framework-benchmark/dev/nest-node/src/app.service.ts @ 271:13d61401c57d

redirect Copilot cache to service state Set XDG_CACHE_HOME from the configured inference state so the systemd service can extract Copilot outside its protected home directory. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Fri, 07 Aug 2026 13:24:05 -0700
parents a8976a008a9d
children
line wrap: on
line source

import { Injectable } from '@nestjs/common';

@Injectable()
export class AppService {
  getHello(): string {
    return 'Hi';
  }

  getCompose(id: string, name: string): string {
    return `${id} ${name}`;
  }
}