Skip to content

Implement Perceptron AI adapter#279

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
op-simoneromeo:codex/perceptron-chat-adapter
May 20, 2026
Merged

Implement Perceptron AI adapter#279
ralyodio merged 1 commit into
profullstack:masterfrom
op-simoneromeo:codex/perceptron-chat-adapter

Conversation

@op-simoneromeo
Copy link
Copy Markdown
Contributor

Summary

  • replace the Perceptron AI stub with a real chat-completions adapter for https://api.perceptron.inc/v1/chat/completions
  • use PERCEPTRON_API_KEY, documented Perceptron/Isaac model ids, dry-run behavior, system/user messages, max_completion_tokens, temperature, and extra request passthrough for response_format / vision_config / other Perceptron options
  • map non-streaming response text and usage tokens, support custom baseUrl, and return concise provider error excerpts

Validation

  • pnpm vitest run packages/ai/perceptron/src/index.test.ts
  • pnpm --filter @profullstack/sh1pt-ai-perceptron typecheck
  • pnpm --filter @profullstack/sh1pt-ai-perceptron build
  • git diff --check
  • rg common secret-pattern scan over packages/ai/perceptron

No real Perceptron API key or other secret was used.

@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

5 similar comments
@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

@github-actions
Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

@ralyodio ralyodio merged commit c55480f into profullstack:master May 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants