Skip to content

s17: remove redundant idle_poll agent_name parameter and sync READMEs#431

Merged
Bill-Billion merged 2 commits into
shareAI-lab:mainfrom
Bill-Billion:fix_374_idle_poll
Jun 26, 2026
Merged

s17: remove redundant idle_poll agent_name parameter and sync READMEs#431
Bill-Billion merged 2 commits into
shareAI-lab:mainfrom
Bill-Billion:fix_374_idle_poll

Conversation

@Bill-Billion

@Bill-Billion Bill-Billion commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Closes #374.

idle_poll carried a redundant agent_name parameter that the single call site always set to the same value as name. This drops it: the signature is now (name, messages, role), and the inbox read and task claim in the body
use name. The three language README snippets (signature, call site, and the read_inbox and claim_task body lines) are updated to match, so the docs and the code agree, and the translation sync markers are bumped.

Supersedes #377 (same fix); the contributor's original code.py commit is preserved in the history here. Generated web assets are intentionally left out and will be synced in a separate batch extract.

@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

@Bill-Billion is attempting to deploy a commit to the crazyboym's projects Team on Vercel.

A member of the Team first needs to authorize it.

chaochaoweb3 and others added 2 commits June 27, 2026 00:54
The code change dropped the redundant agent_name parameter, but the
trilingual README snippets still showed the old four-arg signature, the
double-passed call site, and agent_name inside the function body
(read_inbox and claim_task). Update all three language code blocks to
the three-arg form and bump the translation-sync markers so the docs
match the code.
@Bill-Billion Bill-Billion merged commit dd09205 into shareAI-lab:main Jun 26, 2026
3 of 5 checks passed
@Bill-Billion Bill-Billion deleted the fix_374_idle_poll branch June 26, 2026 17:04
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.

s17: idle_poll 函数存在冗余参数 agent_name

2 participants