Skip to content

fix: resolve default org from API when using PIPECAT_TOKEN without co…#152

Merged
markbackman merged 1 commit intomainfrom
pcc-726
Apr 2, 2026
Merged

fix: resolve default org from API when using PIPECAT_TOKEN without co…#152
markbackman merged 1 commit intomainfrom
pcc-726

Conversation

@mattshep
Copy link
Copy Markdown
Contributor

@mattshep mattshep commented Apr 2, 2026

…nfig file (PCC-726)

The requires_login decorator required both org and token to be set, but PIPECAT_TOKEN users without a config file might not always pass an org. Now the decorator auto-resolves the user's default organization from the API when org is missing, caching it in PIPECAT_ORG for the process lifetime.

@mattshep mattshep self-assigned this Apr 2, 2026
@linear
Copy link
Copy Markdown

linear bot commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

@markbackman markbackman left a comment

Choose a reason for hiding this comment

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

Generally looks good. One comment only.

…nfig file (PCC-726)

The requires_login decorator required both org and token to be set, but
PIPECAT_TOKEN users without a config file had no way to set org. Now the
decorator auto-resolves the user's default organization from the API when
org is missing, caching it in PIPECAT_ORG for the process lifetime.
Copy link
Copy Markdown
Contributor

@markbackman markbackman left a comment

Choose a reason for hiding this comment

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

LGTM!

@markbackman markbackman merged commit a617a42 into main Apr 2, 2026
2 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