mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 12:55:51 +00:00
支持 OpenAI Chat 兼容协议 (#99)
* feat: 完成 openai 接口兼容 * feat: 完成 openai 协议兼容 * fix: 修复测试用例
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import { describe, expect, test } from "bun:test";
|
||||
import { Command } from "@commander-js/extra-typings";
|
||||
|
||||
// Test Commander.js option parsing independently from main.tsx initialization.
|
||||
// main.tsx has heavy bootstrap dependencies; we test the CLI argument parsing
|
||||
// patterns it uses to ensure correct behavior.
|
||||
|
||||
const { Command } = require("/Users/konghayao/code/ai/claude-code/node_modules/.old_modules-13e6b62a502cda34/commander/index.js");
|
||||
|
||||
function createTestProgram(): Command {
|
||||
const program = new Command();
|
||||
program
|
||||
|
||||
Reference in New Issue
Block a user