Skip to content

Commit

Permalink
Set default platform_base_url & fix agent output block bug
Browse files Browse the repository at this point in the history
  • Loading branch information
majdyz committed Oct 25, 2024
1 parent 19b38fb commit 1a23591
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions autogpt_platform/backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ SUPABASE_JWT_SECRET=your-super-secret-jwt-token-with-at-least-32-characters-long

# For local development, you may need to set FRONTEND_BASE_URL for the OAuth flow for integrations to work.
FRONTEND_BASE_URL=http://localhost:3000
PLATFORM_BASE_URL=http://localhost:8006

## == INTEGRATION CREDENTIALS == ##
# Each set of server side credentials is required for the corresponding 3rd party
Expand Down
4 changes: 2 additions & 2 deletions autogpt_platform/frontend/src/components/CustomNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ export function CustomNode({
![BlockUIType.INPUT, BlockUIType.WEBHOOK].includes(nodeType) &&
// No input connection handles for credentials
propKey !== "credentials" &&
// For OUTPUT blocks, only show the 'value' input connection handle
!(nodeType == BlockUIType.OUTPUT && propKey == "value");
// For OUTPUT blocks, only show the 'value' (hides 'name') input connection handle
!(nodeType == BlockUIType.OUTPUT && propKey == "name");
const isConnected = isInputHandleConnected(propKey);
return (
!isHidden &&
Expand Down

0 comments on commit 1a23591

Please sign in to comment.