mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
e00e85765b
This PR merges code from `coder/aibridge` repository into `coder/coder`. It was split into 4 PRs for easier review but stacked PRs will need to be merged into this PR so all checks pass. * https://github.com/coder/coder/pull/24190 -> raw code copy (this PR, before merging PRs on top of it, it was just 1 commit: https://github.com/coder/coder/commit/70d33f33200c7e77df910957595715f81f9bec24) * https://github.com/coder/coder/pull/24570 -> update imports in `coder/coder` to use copied code * https://github.com/coder/coder/pull/24586 -> linter fixes and CI integration (also added README.md) * https://github.com/coder/coder/pull/24571 -> added exclude to scripts/check_emdash.sh check Original PR message (before PR squash): Moves coder/aibridge code into coder/coder repository. Omitted files: - `go.mod`, `go.sum`, `.gitignore`, `.github/workflows/ci.yml,` `Makefile`, `LICENSE`, `README.md` (modified README.md is added later) - `.github`, `example`, `buildinfo,` `scripts` directories Simple verification script (will list omitted files) ``` tmp=$(mktemp -d) echo "$tmp" git clone --depth=1 https://github.com/coder/aibridge "$tmp/aibridge" git clone --depth=1 --branch pb/aibridge-code-move https://github.com/coder/coder "$tmp/coder" diff -rq --exclude=.git "$tmp/aibridge" "$tmp/coder/aibridge" # rm -rf "$tmp" ```
525 lines
11 KiB
Plaintext
525 lines
11 KiB
Plaintext
API endpoints not explicitly handled will fallthrough to upstream via reverse-proxy.
|
|
|
|
-- non-streaming --
|
|
{
|
|
"object": "list",
|
|
"data": [
|
|
{
|
|
"id": "gpt-4-0613",
|
|
"object": "model",
|
|
"created": 1686588896,
|
|
"owned_by": "openai"
|
|
},
|
|
{
|
|
"id": "gpt-4",
|
|
"object": "model",
|
|
"created": 1687882411,
|
|
"owned_by": "openai"
|
|
},
|
|
{
|
|
"id": "gpt-3.5-turbo",
|
|
"object": "model",
|
|
"created": 1677610602,
|
|
"owned_by": "openai"
|
|
},
|
|
{
|
|
"id": "gpt-5-nano",
|
|
"object": "model",
|
|
"created": 1754426384,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-5",
|
|
"object": "model",
|
|
"created": 1754425777,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-5-mini-2025-08-07",
|
|
"object": "model",
|
|
"created": 1754425867,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-5-mini",
|
|
"object": "model",
|
|
"created": 1754425928,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-5-nano-2025-08-07",
|
|
"object": "model",
|
|
"created": 1754426303,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "davinci-002",
|
|
"object": "model",
|
|
"created": 1692634301,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "babbage-002",
|
|
"object": "model",
|
|
"created": 1692634615,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-3.5-turbo-instruct",
|
|
"object": "model",
|
|
"created": 1692901427,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-3.5-turbo-instruct-0914",
|
|
"object": "model",
|
|
"created": 1694122472,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "dall-e-3",
|
|
"object": "model",
|
|
"created": 1698785189,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "dall-e-2",
|
|
"object": "model",
|
|
"created": 1698798177,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4-1106-preview",
|
|
"object": "model",
|
|
"created": 1698957206,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-3.5-turbo-1106",
|
|
"object": "model",
|
|
"created": 1698959748,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "tts-1-hd",
|
|
"object": "model",
|
|
"created": 1699046015,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "tts-1-1106",
|
|
"object": "model",
|
|
"created": 1699053241,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "tts-1-hd-1106",
|
|
"object": "model",
|
|
"created": 1699053533,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "text-embedding-3-small",
|
|
"object": "model",
|
|
"created": 1705948997,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "text-embedding-3-large",
|
|
"object": "model",
|
|
"created": 1705953180,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4-0125-preview",
|
|
"object": "model",
|
|
"created": 1706037612,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4-turbo-preview",
|
|
"object": "model",
|
|
"created": 1706037777,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-3.5-turbo-0125",
|
|
"object": "model",
|
|
"created": 1706048358,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4-turbo",
|
|
"object": "model",
|
|
"created": 1712361441,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4-turbo-2024-04-09",
|
|
"object": "model",
|
|
"created": 1712601677,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o",
|
|
"object": "model",
|
|
"created": 1715367049,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-2024-05-13",
|
|
"object": "model",
|
|
"created": 1715368132,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-mini-2024-07-18",
|
|
"object": "model",
|
|
"created": 1721172717,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-mini",
|
|
"object": "model",
|
|
"created": 1721172741,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-2024-08-06",
|
|
"object": "model",
|
|
"created": 1722814719,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "chatgpt-4o-latest",
|
|
"object": "model",
|
|
"created": 1723515131,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o1-mini-2024-09-12",
|
|
"object": "model",
|
|
"created": 1725648979,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o1-mini",
|
|
"object": "model",
|
|
"created": 1725649008,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-realtime-preview-2024-10-01",
|
|
"object": "model",
|
|
"created": 1727131766,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-audio-preview-2024-10-01",
|
|
"object": "model",
|
|
"created": 1727389042,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-audio-preview",
|
|
"object": "model",
|
|
"created": 1727460443,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-realtime-preview",
|
|
"object": "model",
|
|
"created": 1727659998,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "omni-moderation-latest",
|
|
"object": "model",
|
|
"created": 1731689265,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "omni-moderation-2024-09-26",
|
|
"object": "model",
|
|
"created": 1732734466,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-realtime-preview-2024-12-17",
|
|
"object": "model",
|
|
"created": 1733945430,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-audio-preview-2024-12-17",
|
|
"object": "model",
|
|
"created": 1734034239,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-mini-realtime-preview-2024-12-17",
|
|
"object": "model",
|
|
"created": 1734112601,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-mini-audio-preview-2024-12-17",
|
|
"object": "model",
|
|
"created": 1734115920,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o1-2024-12-17",
|
|
"object": "model",
|
|
"created": 1734326976,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o1",
|
|
"object": "model",
|
|
"created": 1734375816,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-mini-realtime-preview",
|
|
"object": "model",
|
|
"created": 1734387380,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-mini-audio-preview",
|
|
"object": "model",
|
|
"created": 1734387424,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o3-mini",
|
|
"object": "model",
|
|
"created": 1737146383,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o3-mini-2025-01-31",
|
|
"object": "model",
|
|
"created": 1738010200,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-2024-11-20",
|
|
"object": "model",
|
|
"created": 1739331543,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-search-preview-2025-03-11",
|
|
"object": "model",
|
|
"created": 1741388170,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-search-preview",
|
|
"object": "model",
|
|
"created": 1741388720,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-mini-search-preview-2025-03-11",
|
|
"object": "model",
|
|
"created": 1741390858,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-mini-search-preview",
|
|
"object": "model",
|
|
"created": 1741391161,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-transcribe",
|
|
"object": "model",
|
|
"created": 1742068463,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-mini-transcribe",
|
|
"object": "model",
|
|
"created": 1742068596,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o1-pro-2025-03-19",
|
|
"object": "model",
|
|
"created": 1742251504,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o1-pro",
|
|
"object": "model",
|
|
"created": 1742251791,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-mini-tts",
|
|
"object": "model",
|
|
"created": 1742403959,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o3-2025-04-16",
|
|
"object": "model",
|
|
"created": 1744133301,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o4-mini-2025-04-16",
|
|
"object": "model",
|
|
"created": 1744133506,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o3",
|
|
"object": "model",
|
|
"created": 1744225308,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o4-mini",
|
|
"object": "model",
|
|
"created": 1744225351,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4.1-2025-04-14",
|
|
"object": "model",
|
|
"created": 1744315746,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4.1",
|
|
"object": "model",
|
|
"created": 1744316542,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4.1-mini-2025-04-14",
|
|
"object": "model",
|
|
"created": 1744317547,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4.1-mini",
|
|
"object": "model",
|
|
"created": 1744318173,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4.1-nano-2025-04-14",
|
|
"object": "model",
|
|
"created": 1744321025,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4.1-nano",
|
|
"object": "model",
|
|
"created": 1744321707,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-image-1",
|
|
"object": "model",
|
|
"created": 1745517030,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "codex-mini-latest",
|
|
"object": "model",
|
|
"created": 1746673257,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o3-pro",
|
|
"object": "model",
|
|
"created": 1748475349,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-realtime-preview-2025-06-03",
|
|
"object": "model",
|
|
"created": 1748907838,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-4o-audio-preview-2025-06-03",
|
|
"object": "model",
|
|
"created": 1748908498,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o3-pro-2025-06-10",
|
|
"object": "model",
|
|
"created": 1749166761,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o4-mini-deep-research",
|
|
"object": "model",
|
|
"created": 1749685485,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o3-deep-research",
|
|
"object": "model",
|
|
"created": 1749840121,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o3-deep-research-2025-06-26",
|
|
"object": "model",
|
|
"created": 1750865219,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "o4-mini-deep-research-2025-06-26",
|
|
"object": "model",
|
|
"created": 1750866121,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-5-chat-latest",
|
|
"object": "model",
|
|
"created": 1754073306,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-5-2025-08-07",
|
|
"object": "model",
|
|
"created": 1754075360,
|
|
"owned_by": "system"
|
|
},
|
|
{
|
|
"id": "gpt-3.5-turbo-16k",
|
|
"object": "model",
|
|
"created": 1683758102,
|
|
"owned_by": "openai-internal"
|
|
},
|
|
{
|
|
"id": "tts-1",
|
|
"object": "model",
|
|
"created": 1681940951,
|
|
"owned_by": "openai-internal"
|
|
},
|
|
{
|
|
"id": "whisper-1",
|
|
"object": "model",
|
|
"created": 1677532384,
|
|
"owned_by": "openai-internal"
|
|
},
|
|
{
|
|
"id": "text-embedding-ada-002",
|
|
"object": "model",
|
|
"created": 1671217299,
|
|
"owned_by": "openai-internal"
|
|
}
|
|
]
|
|
}
|