Skip to content

Conversation

@nithish037
Copy link
Contributor

  • Added staging environment support in wrangler.toml
  • Upgraded @prompteus-ai/neuron-runner to v1.0.2
  • Added Prompteus favicon
  • Enabled passing key and revisionId to the sandbox
  • Updated README

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 24, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
prompteus-sandbox-staging e6593b0 Apr 30 2025, 09:53 PM

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for staging environment configuration and enhances the sandbox by introducing revisionId support in the neuronPath along with key management improvements. It also updates dependency versions and the README accordingly.

  • Added a state variable and related useEffects to handle a new key parameter.
  • Updated handleRun to extract revisionId from the neuronPath and pass key and revisionId to the API.
  • Revised README instructions to reflect the updated neuron path format and key usage.

Reviewed Changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.

File Description
app/page.tsx Introduced state and logic for a key; updated neuron path parsing to include revisionId; updated placeholder text accordingly.
README.md Updated instructions to match the revised format and explain key usage.
Files not reviewed (2)
  • package.json: Language not supported
  • wrangler.jsonc: Language not supported
Comments suppressed due to low confidence (2)

app/page.tsx:86

  • The error message below still refers to format 'organization/neuron-slug'; update it to 'organization/neuron-slug/revisionId' to accurately reflect the new expected format.
if (!orgSlug || !neuronSlug) {

app/page.tsx:21

  • [nitpick] The variable name 'key' may be confused with React's reserved 'key' prop; consider renaming it to something more descriptive like 'neuronKey' for clarity.
const [key, setKey] = useState("");

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.

3 participants