Skip to content

feat(agent): add anonymous trial and error diagnosis - #274

Closed
IRONICBo wants to merge 1 commit into
socai-io:mainfrom
IRONICBo:feat/anonymous-trial-error-diagnosis
Closed

feat(agent): add anonymous trial and error diagnosis#274
IRONICBo wants to merge 1 commit into
socai-io:mainfrom
IRONICBo:feat/anonymous-trial-error-diagnosis

Conversation

@IRONICBo

@IRONICBo IRONICBo commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • allow one anonymous hosted-model task per device, then guide the user to sign in for credits or configure an API key
  • keep the trial credential separate from account credentials and pin the correct identity for each task turn and settlement
  • keep the managed-task limit local: up to three authenticated tasks, while only one anonymous trial task may be active
  • preserve the per-session Xiaohongshu login gate and avoid opening or checking a second shared page
  • add client-side sanitized diagnosis and localized rendering for otherwise unknown errors
  • rebase onto the current main managed-background-task implementation

Server

Contract notes

  • no /v1/llm/tasks/{task_id}/acquire endpoint is introduced
  • a login during an in-flight trial does not break that task; the next reply rebinds to the current signed-in identity
  • restart recovery may settle the original anonymous task idempotently, but cannot start another anonymous model call

Validation

  • npm_config_registry=https://registry.npmjs.org pnpm run build
  • cargo test -p socai-core --lib — 99 passed, 0 failed, 2 ignored
  • cargo check -p socai_app -p socai-cli
  • git diff --check
  • final automated review: no blocking findings

@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

@IRONICBo is attempting to deploy a commit to the socai Team on Vercel.

A member of the Team first needs to authorize it.

@IRONICBo
IRONICBo force-pushed the feat/anonymous-trial-error-diagnosis branch from 7e9f448 to 2ba555c Compare August 26, 2026 11:23
@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
socai-site Ignored Ignored Preview Aug 30, 2026 9:10am

Request Review

@IRONICBo

IRONICBo commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator Author

Closing per maintainer request to keep the active delivery queue focused on four PRs only: audio/video integration, Douyin, TikTok, and the consolidated browser self-healing PR #292. This PR remains available in history and can be restored separately if needed.

@IRONICBo IRONICBo closed this Sep 6, 2026
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.

1 participant