Implement OpenAI chat completions in GO (#16177)

### What problem does this PR solve?

Implement OpenAI chat completions in GO

POST /api/v1/openai/<chat_id>/chat/completions

OpenAI chat cli: internal/development.md

### Type of change

- [x] Refactoring
This commit is contained in:
qinling0210
2026-06-18 18:07:27 +08:00
committed by GitHub
parent b53b5bf12c
commit 563d855780
61 changed files with 15327 additions and 2105 deletions

View File

@@ -206,6 +206,8 @@ func (p *Parser) parseUserCommand() (*Command, error) {
return p.parseStreamCommand()
case TokenChat:
return p.parseChatCommand()
case TokenOpenaiChat:
return p.parseOpenaiChatCommand()
case TokenThink:
return p.parseThinkCommand()
case TokenEmbed: