[PR #118] Add Native OpenAI-compatible API Support #127

Open
opened 2026-02-27 08:09:23 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/KeygraphHQ/shannon/pull/118
Author: @jchristman
Created: 2/11/2026
Status: 🔄 Open

Base: mainHead: main


📝 Commits (3)

  • df72882 feat: Add native OpenAI-compatible provider for non-Claude AI backends
  • 2aee6fc - Added legacy peer deps to avoid conflicts between anthropic-ai and openai library zod versions
  • c645674 - Added a semaphore for maximum concurrent requests so that local AI doesn't end up exhausting resources on the graphics card. Also added more logging to make it so that the values are output in the workflow.log for easy viewing

📊 Changes

20 files changed (+2541 additions, -88 deletions)

View changed files

📝 .dockerignore (+8 -0)
📝 .env.example (+14 -0)
📝 CLAUDE.md (+19 -0)
📝 Dockerfile (+3 -0)
📝 docker-compose.yml (+7 -0)
📝 mcp-server/src/index.ts (+2 -2)
📝 mcp-server/src/tools/generate-totp.ts (+1 -1)
📝 mcp-server/src/tools/save-deliverable.ts (+4 -2)
📝 mcp-server/src/types/tool-responses.ts (+1 -1)
📝 package-lock.json (+1460 -68)
📝 package.json (+2 -0)
📝 prompts/pipeline-testing/pre-recon-code.txt (+1 -1)
📝 prompts/pre-recon-code.txt (+2 -0)
📝 shannon (+34 -5)
📝 src/ai/claude-executor.ts (+22 -3)
src/ai/mcp-client.ts (+162 -0)
src/ai/openai-executor.ts (+327 -0)
src/ai/openai-tools.ts (+394 -0)
src/ai/provider-config.ts (+54 -0)
📝 src/audit/workflow-logger.ts (+24 -5)

📄 Description

Fully separate execution pathway parallel to the Anthropic Claude path, enables OpenAI-compatible models without the clumsy CCR translation layer.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/KeygraphHQ/shannon/pull/118 **Author:** [@jchristman](https://github.com/jchristman) **Created:** 2/11/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`df72882`](https://github.com/KeygraphHQ/shannon/commit/df7288285d68fbcae3bc39c2d9306102bb210440) feat: Add native OpenAI-compatible provider for non-Claude AI backends - [`2aee6fc`](https://github.com/KeygraphHQ/shannon/commit/2aee6fc81a30d8b1646607bc9c40d3750a908eec) - Added legacy peer deps to avoid conflicts between anthropic-ai and openai library zod versions - [`c645674`](https://github.com/KeygraphHQ/shannon/commit/c6456744f8f6b3b1b3ff8f017d0b5ab93f676b7a) - Added a semaphore for maximum concurrent requests so that local AI doesn't end up exhausting resources on the graphics card. Also added more logging to make it so that the values are output in the workflow.log for easy viewing ### 📊 Changes **20 files changed** (+2541 additions, -88 deletions) <details> <summary>View changed files</summary> 📝 `.dockerignore` (+8 -0) 📝 `.env.example` (+14 -0) 📝 `CLAUDE.md` (+19 -0) 📝 `Dockerfile` (+3 -0) 📝 `docker-compose.yml` (+7 -0) 📝 `mcp-server/src/index.ts` (+2 -2) 📝 `mcp-server/src/tools/generate-totp.ts` (+1 -1) 📝 `mcp-server/src/tools/save-deliverable.ts` (+4 -2) 📝 `mcp-server/src/types/tool-responses.ts` (+1 -1) 📝 `package-lock.json` (+1460 -68) 📝 `package.json` (+2 -0) 📝 `prompts/pipeline-testing/pre-recon-code.txt` (+1 -1) 📝 `prompts/pre-recon-code.txt` (+2 -0) 📝 `shannon` (+34 -5) 📝 `src/ai/claude-executor.ts` (+22 -3) ➕ `src/ai/mcp-client.ts` (+162 -0) ➕ `src/ai/openai-executor.ts` (+327 -0) ➕ `src/ai/openai-tools.ts` (+394 -0) ➕ `src/ai/provider-config.ts` (+54 -0) 📝 `src/audit/workflow-logger.ts` (+24 -5) </details> ### 📄 Description Fully separate execution pathway parallel to the Anthropic Claude path, enables OpenAI-compatible models without the clumsy CCR translation layer. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shannon-KeygraphHQ#127
No description provided.