Summary
The account_ids should not be stored in constants. Instead, they should be set inline in examples or fetched from a function.
Context
From PR #148 review comment by @glebedel:
I don't think it makes sense to ever have account_ids in constants vs fetching them from some kind of function or just setting them inline for the purpose of having examples, eg const accountId =
#148 (comment)
Affected Files
examples/openai-integration.ts
- Any other examples using account_ids from constants
Proposed Changes
Replace imports from constants with inline values in examples:
// Before
import { STACKONE_ACCOUNT_ID } from './constants';
// After
const accountId = '<your-account-id>';
This makes examples clearer and doesn't expose internal implementation details.
Related