Release/v2.1.0#32
Open
digitallysavvy wants to merge 26 commits into
Open
Conversation
Add finite interaction language support at the AgentKit layer and always serialize asr.language with an en-US default for cascading agents. Keep provider-specific STT language values under asr.params and align STT vendor parameter serialization across TypeScript, Python, and Go. Add focused tests covering default interaction language behavior, explicit interaction language overrides, and documented STT provider params.
Update vendor documentation across TypeScript, Python, and Go to explain that AgentKit interaction language maps to asr.language while provider language settings remain under asr.params. Refresh STT vendor parameter tables to match the serialized provider request shapes.
Update AgentKit examples and reference docs to configure prompts, greetings, failure messages, and max history on LLM or MLLM vendor options instead of the top-level Agent fields. Mark the Agent-level helpers as compatibility shims and keep examples aligned with the serialized request shape.
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 4.37.0
Patches applied (5):
- patch-64703bda: test(agentkit): add custom tests for v1.5.0 AgentKit behavior
- patch-7c2d9d99: feat(agentkit): align session options and token uid handling
- patch-7465fada: fix(agentkit): resolve Python session typing issues
- patch-fae1249a: Re-export agora-agents API from legacy PyPI compatibility package The compat distribution delegates to agora_agent via __getattr__ and documents both import paths in its README.
- patch-44c21c14: Re-export AgentKit symbols from agora_agent package root Extend __getattr__ and __all__ so vendor classes, presets, and helpers are importable via `from agora_agent import ...`. Add tests and update class docstring examples to use the root import path.
Patches with unresolved conflicts (17):
- patch-6e30398b: chore(agentkit): bump to v1.5.0 and expose v2.7 type aliases
- patch-9df782b4: feat(agentkit): update MLLM and LLM vendor wrappers for v2.7
- patch-26706d73: feat(agentkit): add GenericAvatar and session-aware avatar validation
- patch-9f491c63: feat(agentkit): update Agent builder and session lifecycle for v2.7
- patch-6c20f076: docs(agentkit): update v1.5.0 guides, reference, and changelog
- patch-eaec58eb: refactor(agentkit): align deprecated vendor aliases with canonical names
- patch-20245632: feat(agentkit): export type aliases and avatar token helpers
- patch-972dd5bd: updated docs
- patch-4323b470: rename python package to agora-agents
- patch-d29165c4: make python compat package publishable
- patch-fc9d93c3: Document agora-agents PyPI install name and migration notes
- patch-87fc4488: Update docs to import from agora_agent package root
- patch-923cf954: Prioritize app credentials and builder in Python docs Rewrite getting-started auth and quick-start for app credentials with the builder API. De-emphasize presets and align index, BYOK, and README with the recommended onboarding path.
- patch-d475306b: Move package rename guidance to installation docs and protect manual paths in Fern ignore. Consolidate migration notes into the installation guide with next-step links, add a brief README pointer, and exclude README, compat, and workflow files from Fern generation.
- patch-c9355576: Streamline Python docs and README for app-credentials-first onboarding. Remove duplicated low-level client examples from the README, de-emphasize legacy auth modes, refocus the low-level API guide on AgentKit with telephony escape hatches, and update Agora-managed model terminology.
- patch-98ecb4d3: Add Groq, Vertex AI, Bedrock, Dify, and Custom LLM vendor helpers. Introduce named LLM vendor classes with correct request serialization, export them from the package root, and add tests covering each provider's config shape.
- patch-a5097b8d: Document new LLM vendors and tighten onboarding docs. Add Groq, Vertex AI, Bedrock, Dify, and Custom LLM to vendor references, simplify README and index navigation, and align quick-start and terminology with Agora-managed model language.
Run `fern-replay resolve` to apply these customizations.
Patches absorbed by generator (3):
- patch-b7f0c36c: feat(agentkit): release v2.0.0 updates
- patch-4d32368c: Add compat-build CI job and harden dual-package PyPI publish Build and verify the compat wheel re-exports, gate publish on compat-build, simplify version checks with poetry version, wait for primary package on PyPI, and retry compat publish on failure.
- patch-20109390: Fix PyPI publish auth and explicitly protect release workflow in Fern ignore. Use PYPI_API_TOKEN for primary and compat Poetry publishes, matching the v1.4.1 release flow, and list release.yml explicitly in .fernignore.
The generator now produces these customizations natively.
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 4.37.0
Patches applied (5):
- patch-64703bda: test(agentkit): add custom tests for v1.5.0 AgentKit behavior
- patch-7c2d9d99: feat(agentkit): align session options and token uid handling
- patch-7465fada: fix(agentkit): resolve Python session typing issues
- patch-fae1249a: Re-export agora-agents API from legacy PyPI compatibility package The compat distribution delegates to agora_agent via __getattr__ and documents both import paths in its README.
- patch-44c21c14: Re-export AgentKit symbols from agora_agent package root Extend __getattr__ and __all__ so vendor classes, presets, and helpers are importable via `from agora_agent import ...`. Add tests and update class docstring examples to use the root import path.
Patches with unresolved conflicts (17):
- patch-6e30398b: chore(agentkit): bump to v1.5.0 and expose v2.7 type aliases
- patch-9df782b4: feat(agentkit): update MLLM and LLM vendor wrappers for v2.7
- patch-26706d73: feat(agentkit): add GenericAvatar and session-aware avatar validation
- patch-9f491c63: feat(agentkit): update Agent builder and session lifecycle for v2.7
- patch-6c20f076: docs(agentkit): update v1.5.0 guides, reference, and changelog
- patch-eaec58eb: refactor(agentkit): align deprecated vendor aliases with canonical names
- patch-20245632: feat(agentkit): export type aliases and avatar token helpers
- patch-972dd5bd: updated docs
- patch-4323b470: rename python package to agora-agents
- patch-d29165c4: make python compat package publishable
- patch-fc9d93c3: Document agora-agents PyPI install name and migration notes
- patch-87fc4488: Update docs to import from agora_agent package root
- patch-923cf954: Prioritize app credentials and builder in Python docs Rewrite getting-started auth and quick-start for app credentials with the builder API. De-emphasize presets and align index, BYOK, and README with the recommended onboarding path.
- patch-d475306b: Move package rename guidance to installation docs and protect manual paths in Fern ignore. Consolidate migration notes into the installation guide with next-step links, add a brief README pointer, and exclude README, compat, and workflow files from Fern generation.
- patch-c9355576: Streamline Python docs and README for app-credentials-first onboarding. Remove duplicated low-level client examples from the README, de-emphasize legacy auth modes, refocus the low-level API guide on AgentKit with telephony escape hatches, and update Agora-managed model terminology.
- patch-98ecb4d3: Add Groq, Vertex AI, Bedrock, Dify, and Custom LLM vendor helpers. Introduce named LLM vendor classes with correct request serialization, export them from the package root, and add tests covering each provider's config shape.
- patch-a5097b8d: Document new LLM vendors and tighten onboarding docs. Add Groq, Vertex AI, Bedrock, Dify, and Custom LLM to vendor references, simplify README and index navigation, and align quick-start and terminology with Agora-managed model language.
Run `fern-replay resolve` to apply these customizations.
Patches absorbed by generator (3):
- patch-b7f0c36c: feat(agentkit): release v2.0.0 updates
- patch-4d32368c: Add compat-build CI job and harden dual-package PyPI publish Build and verify the compat wheel re-exports, gate publish on compat-build, simplify version checks with poetry version, wait for primary package on PyPI, and retry compat publish on failure.
- patch-20109390: Fix PyPI publish auth and explicitly protect release workflow in Fern ignore. Use PYPI_API_TOKEN for primary and compat Poetry publishes, matching the v1.4.1 release flow, and list release.yml explicitly in .fernignore.
The generator now produces these customizations natively.
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 4.37.0
Patches applied (5):
- patch-64703bda: test(agentkit): add custom tests for v1.5.0 AgentKit behavior
- patch-7c2d9d99: feat(agentkit): align session options and token uid handling
- patch-7465fada: fix(agentkit): resolve Python session typing issues
- patch-fae1249a: Re-export agora-agents API from legacy PyPI compatibility package The compat distribution delegates to agora_agent via __getattr__ and documents both import paths in its README.
- patch-44c21c14: Re-export AgentKit symbols from agora_agent package root Extend __getattr__ and __all__ so vendor classes, presets, and helpers are importable via `from agora_agent import ...`. Add tests and update class docstring examples to use the root import path.
Patches with unresolved conflicts (17):
- patch-6e30398b: chore(agentkit): bump to v1.5.0 and expose v2.7 type aliases
- patch-9df782b4: feat(agentkit): update MLLM and LLM vendor wrappers for v2.7
- patch-26706d73: feat(agentkit): add GenericAvatar and session-aware avatar validation
- patch-9f491c63: feat(agentkit): update Agent builder and session lifecycle for v2.7
- patch-6c20f076: docs(agentkit): update v1.5.0 guides, reference, and changelog
- patch-eaec58eb: refactor(agentkit): align deprecated vendor aliases with canonical names
- patch-20245632: feat(agentkit): export type aliases and avatar token helpers
- patch-972dd5bd: updated docs
- patch-4323b470: rename python package to agora-agents
- patch-d29165c4: make python compat package publishable
- patch-fc9d93c3: Document agora-agents PyPI install name and migration notes
- patch-87fc4488: Update docs to import from agora_agent package root
- patch-923cf954: Prioritize app credentials and builder in Python docs Rewrite getting-started auth and quick-start for app credentials with the builder API. De-emphasize presets and align index, BYOK, and README with the recommended onboarding path.
- patch-d475306b: Move package rename guidance to installation docs and protect manual paths in Fern ignore. Consolidate migration notes into the installation guide with next-step links, add a brief README pointer, and exclude README, compat, and workflow files from Fern generation.
- patch-c9355576: Streamline Python docs and README for app-credentials-first onboarding. Remove duplicated low-level client examples from the README, de-emphasize legacy auth modes, refocus the low-level API guide on AgentKit with telephony escape hatches, and update Agora-managed model terminology.
- patch-98ecb4d3: Add Groq, Vertex AI, Bedrock, Dify, and Custom LLM vendor helpers. Introduce named LLM vendor classes with correct request serialization, export them from the package root, and add tests covering each provider's config shape.
- patch-a5097b8d: Document new LLM vendors and tighten onboarding docs. Add Groq, Vertex AI, Bedrock, Dify, and Custom LLM to vendor references, simplify README and index navigation, and align quick-start and terminology with Agora-managed model language.
Run `fern-replay resolve` to apply these customizations.
Patches absorbed by generator (3):
- patch-b7f0c36c: feat(agentkit): release v2.0.0 updates
- patch-4d32368c: Add compat-build CI job and harden dual-package PyPI publish Build and verify the compat wheel re-exports, gate publish on compat-build, simplify version checks with poetry version, wait for primary package on PyPI, and retry compat publish on failure.
- patch-20109390: Fix PyPI publish auth and explicitly protect release workflow in Fern ignore. Use PYPI_API_TOKEN for primary and compat Poetry publishes, matching the v1.4.1 release flow, and list release.yml explicitly in .fernignore.
The generator now produces these customizations natively.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
en-USdefaults and finite supported BCP-47validation.
additional_paramsinstead of nestedparams.params.Validation
PYTHONPATH=src python3 -m pytest tests/custom/test_tts_vendors.py