File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1- import { PATHS } from "./paths"
1+ import { PATHS } from "../config /paths"
22
33interface CacheEntry {
44 value : string
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import type { Serve } from "bun"
33import consola from "consola"
44import fs from "node:fs"
55
6+ import { PATHS } from "./config/paths"
7+ import { TOKENS } from "./config/tokens"
68import { CACHE } from "./lib/cache"
7- import { PATHS } from "./lib/paths"
8- import { TOKENS } from "./lib/tokens"
99import { server } from "./server"
1010import { getModels } from "./services/copilot/get-models/service"
1111import { getCopilotToken } from "./services/copilot/get-token/copilot-token"
Original file line number Diff line number Diff line change 11import consola from "consola"
22import { FetchError , ofetch } from "ofetch"
33
4- import { TOKENS } from "~/lib /tokens"
4+ import { TOKENS } from "~/config /tokens"
55
66export const copilot = ofetch . create ( {
77 baseURL : "https://api.individual.githubcopilot.com" ,
Original file line number Diff line number Diff line change 11import consola from "consola"
22
3- import { ENV } from "~/lib /env"
3+ import { ENV } from "~/config /env"
44import { _github } from "~/services/api-instance"
55
66interface DeviceCodeResponse {
You can’t perform that action at this time.
0 commit comments