Skip to content

Remove Language detection; drop Transfer call from the system tools table - #121

Merged
Him188 merged 1 commit into
mainfrom
remove-language-detection
Aug 6, 2026
Merged

Remove Language detection; drop Transfer call from the system tools table#121
Him188 merged 1 commit into
mainfrom
remove-language-detection

Conversation

@Him188

@Him188 Him188 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Companion to fishaudio/platform-api#1266 (removes the language_detection system tool from the product).

  • system-tools.mdx: table now lists only Hang up call; Transfer call leaves the toggle table (it has no switch — auto-enabled once a transfer destination is configured; its explanatory section stays). Builder section no longer points at a Configuration-page switch.
  • voice-language.mdx: speaking language is now unconditional — detection table and Tip removed.
  • tools.mdx / configuration.mdx / authenticated-sessions.mdx / llms.txt: passing mentions cleaned up.
  • openapi.json: language_detection removed from AgentSystemToolsConfig / PublicSystemToolsPatch; session-creation description updated.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Summary by CodeRabbit

  • Documentation
    • Clarified that sessions use the configured speaking language by default.
    • Updated language override guidance to reflect current behavior.
    • Removed references to automatic language detection from voice and system tool documentation.
    • Updated system tool documentation to describe call hang-up functionality only.
    • Removed the language detection option from the API schema and session documentation.

… table

The language_detection system tool is removed from the product — sessions
always converse in the configured speaking language. Transfer call leaves
the toggle table since it has no switch (auto-enabled with a transfer
destination); its explanatory section stays.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Him188
Him188 enabled auto-merge (squash) August 6, 2026 09:56
@mintlify

mintlify Bot commented Aug 6, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
hanabiaiinc 🔴 Failed Aug 6, 2026, 9:56 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@Him188
Him188 merged commit 67e3814 into main Aug 6, 2026
1 of 2 checks passed
@Him188
Him188 deleted the remove-language-detection branch August 6, 2026 09:56
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 72b96d40-532a-4da8-a79b-15e91588ff16

📥 Commits

Reviewing files that changed from the base of the PR and between 1c7a5fc and b8ed70d.

📒 Files selected for processing (7)
  • agents/build/configuration.mdx
  • agents/build/system-tools.mdx
  • agents/build/tools.mdx
  • agents/build/voice-language.mdx
  • agents/deploy/authenticated-sessions.mdx
  • api-reference/openapi.json
  • llms.txt

📝 Walkthrough

Walkthrough

The documentation now states that sessions use the configured speaking language. System tool documentation lists call hang-up capability without automatic language detection or call transfer details. API reference schemas remove language-detection fields.

Changes

Language and system tool documentation

Layer / File(s) Summary
Configured session language documentation
agents/build/configuration.mdx, agents/build/voice-language.mdx, agents/deploy/authenticated-sessions.mdx, api-reference/openapi.json
Session language documentation now describes the configured speaking language. Language override and session API descriptions no longer reference automatic language detection.
Hang-up system tool documentation
agents/build/system-tools.mdx, agents/build/tools.mdx, agents/build/voice-language.mdx, llms.txt
System tool descriptions now focus on call hang-up capability. Language detection and call transfer details were removed.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • fishaudio/docs#116: Updates the same agent documentation pages and introduced related language-detection and system-tool content.
  • fishaudio/docs#119: Updates session-language behavior in the same documentation and API reference areas.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch remove-language-detection

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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