Skip to content

Conversation

@mwbrooks
Copy link
Member

Type of change

  • New feature
  • Bug fix
  • Documentation

Summary

Related to PR slack-samples/bolt-js-assistant-template#100

This pull request updates the .env.sample file to clarify what needs to be set when using the CLI or manually running the app:

  • Adds comments above SLACK_APP_TOKEN, SLACK_BOT_TOKEN to clarify that these only need to be set when manually running the app.
  • Comments out SLACK_APP_TOKEN, SLACK_BOT_TOKEN by default, since our preference is to use the CLI which auto-sets these values.
  • Adds comment above SLACK_API_URL to explain when this should be set.
  • Updates OPENAI_API_KEY to clarify that this is required for this template.

Reviewers

# Create the app
$ lack create test-app -t slack-samples/bolt-python-assistant-template -b feat-ai-apps-thinking-steps-env-defaults
$ cd test-app/

# Setup venv
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt

# Set environment variables
$ mv .env.sample .env
$ vim .env
# → Set OPENAI_API_KEY

# Test the app
$ lack run
# → Confirm you can roll the dice to hit the OpenAI API

# Clean up
$ lack delete -f
$ cd ..
$ rm -rf test-app

Requirements

  • I have ensured the changes I am contributing align with existing patterns and have tested and linted my code
  • I've read and agree to the Code of Conduct

@mwbrooks mwbrooks self-assigned this Jan 30, 2026
@mwbrooks mwbrooks added the enhancement New feature or request label Jan 30, 2026
@mwbrooks mwbrooks requested a review from a team January 30, 2026 00:40
Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

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

@mwbrooks LGTM! I'm optimistic that other providers can be shown but let's keep showcasing the latest features of app development for this meantime 📺

@mwbrooks
Copy link
Member Author

Thanks @zimeg! I'm also looking forward to supporting multiple providers soon! 🚀

@mwbrooks mwbrooks merged commit 9963b3d into feat-ai-apps-thinking-steps Jan 30, 2026
2 checks passed
@mwbrooks mwbrooks deleted the feat-ai-apps-thinking-steps-env-defaults branch January 30, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants