Copilot/intergarte and impelement events - #72
Open
5hy7xz92nd-oss wants to merge 581 commits into
Open
Conversation
…eck-feature-or-bug
…element-events Add repo research plan and workflow roles to docs
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…pelement-events Add repo research plan and workflow roles to docs
…os-and-rabbitsync
…ts-and-sources
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- ## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
#531) ## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
…t/intergarte-and-impelement-events
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
#537) ## Summary <!> 🕴️[!IMPORTANT] > This package is presently in its alpha stage of development (2026-03-04). #### Supported Platforms SPM platforms from [`Package.swift`](Package.swift): **iOS 16+**, **macOS 13+**, **tvOS 16+**, **visionOS 1+**, **watchOS 9+**. <p align="left"> <picture> <source media="(prefers-color-scheme: dark)" srcset="Images/macos.svg"> <source media="(prefers-color-scheme: light)" srcset="Images/macos-active.svg"> <img alt="macOS" src="Images/macos-active.svg" height="24"> </picture> <picture> <source media="(prefers-color-scheme: dark)" srcset="Images/ios.svg"> <source media="(prefers-color-scheme: light)" srcset="Images/ios-active.svg"> <img alt="iOS" src="Images/ios-active.svg" height="24"> </picture> <picture> <source media="(prefers-color-scheme: dark)" srcset="Images/ipados.svg"> <source media="(prefers-color-scheme: light)" srcset="Images/ipados-active.svg"> <img alt="iPadOS" src="Images/ipados-active.svg" height="24"> </picture> <picture> <source media="(prefers-color-scheme: dark)" srcset="Images/tvos.svg"> <source media="(prefers-color-scheme: light)" srcset="Images/tvos-active.svg"> <img alt="tvOS" src="Images/tvos-active.svg" height="24"> </picture> <picture> <source media="(prefers-color-scheme: dark)" srcset="Images/watchos.svg"> <source media="(prefers-color-scheme: light)" srcset="Images/watchos-active.svg"> <img alt="watchOS" src="Images/watchos-active.svg" height="24"> </picture> </p> Also targets **visionOS** (badge art not yet in `Images/`). # AI The definitive, open-source Swift framework for interfacing with generative AI. ## Documentation - [Architecture](docs/ARCHITECTURE.md) - [Contributing](CONTRIBUTING.md) - [Changelog](CHANGELOG.md) ## Table of Contents - [Architecture Overview](#architecture-overview) - [Dependencies](#dependencies) - [Installation](#installation) - [Usage](#usage) - [Import the framework](#import-the-framework) - What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com>
Added a template for creating a custom agent with instructions. Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- ## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
## Summary <!-- What does this PR change and why? --> ## Type of change - [ ] Bug fix - [ ] New provider / API surface - [ ] Refactor - [ ] Documentation - [ ] Tests / CI - [ ] Other ## Checklist - [ ] Builds with the package’s supported Xcode/Swift versions - [ ] Tests added or updated when behavior changes - [ ] No secrets or API keys committed - [ ] Docs updated if products, targets, public API, or dependencies changed: - [ ] `README.md` - [ ] `docs/ARCHITECTURE.md` (graph / tables) - [ ] `CHANGELOG.md` (`[Unreleased]`) - [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`; avoid new provider→provider deps) ## Test plan <!-- How did you verify? Unit tests, manual API calls, platforms… --> ## Related issues <!-- Fixes #… --> --------- Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com> Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com> Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com> Co-authored-by: NatashaTheRobot <nmurashev@gmail.com> Co-authored-by: Purav Manot <manot.purav@gmail.com> Co-authored-by: Akshat Patel <akshat.patel16@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR significantly expands the package’s provider surface area and shared abstractions, adding a new xAI provider implementation, extending TogetherAI to support completions + embeddings request-handling, and introducing new shared WIP modules for video generation, agent pipelines, and cross-provider speech synthesis, alongside large documentation and CI/workflow additions.
Changes:
- Added an
xAImodule with models, request bodies, andLLMRequestHandlingintegration + tests. - Expanded TogetherAI (model typing, completions endpoint/model, embeddings request-handling) and added new TogetherAI tests.
- Introduced/extended cross-provider speech synthesis abstractions and implementations (ElevenLabs/PlayHT/Rime/NeetsAI/HumeAI), plus new docs + GitHub Actions workflows.
Reviewed changes
Copilot reviewed 117 out of 128 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| Tests/xAI/module.swift | Adds xAI test module globals (API key + client). |
| Tests/xAI/Intramodular/FunctionCallingTests.swift | Adds function-calling tests for xAI client. |
| Tests/xAI/Intramodular/CompletionTests.swift | Adds chat completion tests for xAI models. |
| Tests/TogetherAI/module.swift | Sets TogetherAI test API key placeholder. |
| Tests/TogetherAI/Intramodular/EmbeddingsTests.swift | Adds TogetherAI embeddings tests, including TextEmbeddingsRequestHandling. |
| Tests/TogetherAI/Intramodular/CompetionTests.swift | Adds TogetherAI completion tests (new file). |
| Tests/Perplexity/Intramodular/CompletionTests.swift | Adjusts Perplexity test file (now contains an invalid stray reference). |
| Tests/Mistral/Intramodular/EmbeddingsTests.swift | Removes an unused import. |
| Sources/xAI/module.swift | Adds xAI module exports. |
| Sources/xAI/Intramodular/xAI+LLMRequestHandling.swift | Adds LLMRequestHandling conformance for xAI client. |
| Sources/xAI/Intramodular/xAI.swift | Introduces xAI namespace type. |
| Sources/xAI/Intramodular/xAI.Model.swift | Defines xAI models and model identifier conversion. |
| Sources/xAI/Intramodular/xAI.Client.swift | Introduces xAI HTTP client and CoreMI service initialization. |
| Sources/xAI/Intramodular/xAI.ChatMessage+LargeLanguageModels.swift | Adds conversions between xAI messages and LargeLanguageModels prompt literals. |
| Sources/xAI/Intramodular/Models/xAI.Tool.swift | Adds tool/tool-call models (function tooling). |
| Sources/xAI/Intramodular/Models/xAI.ChatRole.swift | Adds chat role mapping between xAI and AbstractLLM. |
| Sources/xAI/Intramodular/Models/xAI.ChatMessageBody.swift | Adds chat message body modeling, content decoding, and stringification. |
| Sources/xAI/Intramodular/Models/xAI.ChatMessage.swift | Adds xAI chat message model + coding logic. |
| Sources/xAI/Intramodular/Models/xAI.ChatFunctionDefinition.swift | Adds function definition model used in requests. |
| Sources/xAI/Intramodular/Models/xAI.ChatCompletion.swift | Adds chat completion response model. |
| Sources/xAI/Intramodular/API/xAI.APISpecification.swift | Adds xAI REST spec + error decoding/mapping. |
| Sources/xAI/Intramodular/API/xAI.APISpecification.ResponseBodies.swift | Adds placeholder response bodies file. |
| Sources/xAI/Intramodular/API/xAI.APISpecification.RequestBodies.swift | Adds chat completions request body model for xAI API. |
| Sources/TogetherAI/Intramodular/TogetherAI.Model.swift | Refactors TogetherAI models into typed completion/embedding enums with conversions. |
| Sources/TogetherAI/Intramodular/TogetherAI.Embeddings.swift | Changes embedding element type from [Float] to [Double]. |
| Sources/TogetherAI/Intramodular/TogetherAI.Completion.swift | Adds TogetherAI completion response model. |
| Sources/TogetherAI/Intramodular/TogetherAI.Client+TextEmbeddingsRequestHandling.swift | Adds TextEmbeddingsRequestHandling conformance to TogetherAI client. |
| Sources/TogetherAI/Intramodular/TogetherAI.Client+LLMRequestHandling.swift | Adds LLMRequestHandling conformance for TogetherAI text completions. |
| Sources/TogetherAI/Intramodular/TogetherAI.Client.swift | Updates embeddings signature and adds createCompletion. |
| Sources/TogetherAI/Intramodular/TogetherAI.APISpecification.swift | Adds completions endpoint + request body; updates embeddings request body. |
| Sources/Rime/Intramodular/Rime.Client+SpeechSynthesisRequestHandling.swift | Adds SpeechSynthesisRequestHandling conformance for Rime. |
| Sources/Rime/Intramodular/Models/Rime.Voice.swift | Adds CorePersistence ID + conversions to/from AbstractVoice. |
| Sources/PlayHT/Intramodular/URL++.swift | Adds audio conversion helper (URL → MP4). |
| Sources/PlayHT/Intramodular/PlayHT.Model.swift | Adds new PlayHT models. |
| Sources/PlayHT/Intramodular/PlayHT.Client+SpeechSynthesisRequestHandling.swift | Adds SpeechSynthesisRequestHandling conformance for PlayHT. |
| Sources/PlayHT/Intramodular/PlayHT.Client.swift | Refactors voice fetching + TTS streaming behavior. |
| Sources/PlayHT/Intramodular/Models/PlayHT.VoiceSettings.swift | Adds missing Foundation import. |
| Sources/PlayHT/Intramodular/Models/PlayHT.Voice.swift | Makes voiceEngine optional and adds AbstractVoice conversions. |
| Sources/PlayHT/Intramodular/API/PlayHT.APISpecification.swift | Changes TTS stream endpoint output to Data and adjusts headers/decoding. |
| Sources/PlayHT/Intramodular/API/PlayHT.APISpecification.RequestBodies.swift | Tweaks TTS input payload fields and coding keys. |
| Sources/Perplexity/Intramodular/Perplexity+LLMRequestHandling.swift | Updates Perplexity request body construction. |
| Sources/Perplexity/Intramodular/Perplexity.APISpecification/Perplexity.APISpecification.ResponseBodies.swift | Adds citations to response. |
| Sources/Perplexity/Intramodular/Perplexity.APISpecification/Perplexity.APISpecification.RequestBodies.swift | Replaces citations flag with search filters + adds initializer. |
| Sources/OpenAI/Intramodular/Models/OpenAI.Model.swift | Adds dalle2 case in DALL·E model enum. |
| Sources/OpenAI/Intramodular/API Specification/OpenAI.APISpecification.swift | Adds images edits endpoint. |
| Sources/OpenAI/Intramodular/API Specification/OpenAI.APISpecification.ResponseBodies.swift | Makes CreateChatCompletion public. |
| Sources/OpenAI/Intramodular/API Specification/OpenAI.APISpecification.RequestBodies.swift | Makes CreateCompletion public; adds CreateImageEdit multipart request body. |
| Sources/OpenAI/Intramodular/API Client/OpenAI.Client-Image.swift | Adds createImageEdit client method. |
| Sources/Ollama/Intramodular/Ollama.swift | Changes init constraint extension target. |
| Sources/NeetsAI/module.swift | Re-exports Swallow + macros client. |
| Sources/NeetsAI/Intramodular/NeetsAI.Client+SpeechSynthesisRequestHandling.swift | Adds SpeechSynthesisRequestHandling conformance + local unique helper. |
| Sources/NeetsAI/Intramodular/Models/NeetsAI.Voice.swift | Adds AbstractVoice conversions. |
| Sources/NeetsAI/Intramodular/API/NeetsAI.APISpecification.RequestBodies.swift | Adds missing Foundation import. |
| Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoModel.swift | Adds WIP video model type. |
| Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.swift | Adds WIP video generation settings container. |
| Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.StyleStrength.swift | Adds style strength mapping to guidance scale. |
| Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.Resolution.swift | Adds resolution presets + helpers. |
| Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.Quality.swift | Adds quality presets + inference steps. |
| Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.MotionSettings.swift | Adds motion settings with clamping. |
| Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.FrameRate.swift | Adds frame rate presets. |
| Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationRequestHandling.swift | Adds shared video generation protocol + environment key. |
| Sources/LargeLanguageModels/Intramodular/LLMs/Logging/LLMErrorLogger.swift | Adds error logging actor + LLMRequestHandling helper. |
| Sources/LargeLanguageModels/Intramodular/LLMs/Logging/FailedLLMResponseStore.swift | Adds failed chat-response store + JSONL export. |
| Sources/LargeLanguageModels/Intramodular/LLMs/Agents/LLMAgentPipeline.swift | Adds a 3-stage agent pipeline abstraction. |
| Sources/LargeLanguageModels/Intramodular/AbstractVoice (WIP)/SpeechSynthesisRequestHandling.swift | Adds shared speech synthesis protocol + environment key. |
| Sources/LargeLanguageModels/Intramodular/AbstractVoice (WIP)/AbstractVoiceSettings.swift | Adds shared voice settings model + conversion protocols. |
| Sources/LargeLanguageModels/Intramodular/AbstractVoice (WIP)/AbstractVoice.swift | Adds shared AbstractVoice type + conversion protocols. |
| Sources/HumeAI/Intramodular/Models/HumeAI.Tool.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/Models/HumeAI.Prompt.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/Models/HumeAI.Models.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/Models/HumeAI.Job.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/Models/HumeAI.FileInput.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/Models/HumeAI.File.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/Models/HumeAI.Dataset.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/Models/HumeAI.Config.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/Models/HumeAI.ChatResponse.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/Models/HumeAI.ChatMessage.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/Models/HumeAI.ChatGroup.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/Models/HumeAI.ChatEvent.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/Models/HumeAI.Chat.swift | Adds missing Foundation import. |
| Sources/HumeAI/Intramodular/HumeAI.Client+SpeechSynthesisRequestHandling.swift | Adds SpeechSynthesisRequestHandling conformance for HumeAI (mostly unsupported operations). |
| Sources/HumeAI/Intramodular/API/HumeAI.APISpecification.swift | Removes a print. |
| Sources/ElevenLabs/Intramodular/Models/ElevenLabs.VoiceSettings.swift | Adds AbstractVoiceSettings conversions. |
| Sources/ElevenLabs/Intramodular/Models/ElevenLabs.Voice.swift | Adds AbstractVoice conversions. |
| Sources/ElevenLabs/Intramodular/Models/ElevenLabs.DubbingResult.swift | Adds dubbing result model. |
| Sources/ElevenLabs/Intramodular/Models/ElevenLabs.DubbingProgress.swift | Adds dubbing progress model. |
| Sources/ElevenLabs/Intramodular/Models/ElevenLabs.DubbingOptions.swift | Adds dubbing options model. |
| Sources/ElevenLabs/Intramodular/ElevenLabs.Model.swift | Fixes provider mapping + adds new model case. |
| Sources/ElevenLabs/Intramodular/ElevenLabs.Client+Dubbing.swift | Adds dubbing helper API (currently has a syntax error). |
| Sources/ElevenLabs/Intramodular/ElevenLabs.Client.swift | Adds CoreMI client init + SpeechSynthesisRequestHandling conformance. |
| Sources/ElevenLabs/Intramodular/API/ElevenLabs.APISpecification.swift | Adds dubbing endpoints. |
| Sources/ElevenLabs/Intramodular/API/ElevenLabs.APISpecification.ResponseBodies.swift | Adds dubbing response/status models. |
| Sources/ElevenLabs/Intramodular/API/ElevenLabs.APISpecification.RequestBodies.swift | Refactors request bodies and adds dubbing request multipart conversion. |
| Sources/CoreMI/Intramodular/Model Identifier/ModelIdentifier.Provider.swift | Adds _xAI provider and refactors provider convenience properties. |
| Sources/CoreMI/Intramodular/Foundation/CoreMI.RequestHandling.swift | Adds macro import + annotates consider and tweaks fatalError. |
| Sources/AI/AnySpeechSynthesisRequestHandling.swift | Adds type-erased speech synthesizer wrapper. |
| Sources/_Gemini/Intramodular/Models/_Gemini.GoogleSearchRetrieval.swift | Adds default dynamic retrieval config. |
| Sources/_Gemini/Intramodular/Models/_Gemini.GenerationConfig.swift | Adds JSONSchema → Gemini schema conversion. |
| Sources/_Gemini/Intramodular/API/_Gemini.APISpecification.swift | Refactors file upload to resumable flow and adjusts query handling. |
| Sources/_Gemini/Intramodular/API/_Gemini.APISpecification.RequestBodies.swift | Adds start/finalize upload request models (contains incomplete/commented code). |
| Sources/_Gemini/Intramodular/_Gemini.Model.swift | Adds a new model constant. |
| Sources/_Gemini/Intramodular/_Gemini.Client+Files.swift | Reworks file upload flow and adds Media integration. |
| Sources/_Gemini/Intramodular/_Gemini.Client+ContentGeneration.swift | Adds tools parameter support to content generation. |
| SECURITY.md | Adds a security policy template. |
| README.md | Large documentation overhaul and architecture section additions. |
| Package.swift | Adds Media dependency, ElevenLabs product, TogetherAI test target, AI target tweaks. |
| Package.resolved | Updates dependency pin revisions/hashes. |
| enhanced-continuous-validation.yml | Adds a large Python-oriented CI workflow (currently references missing files). |
| docs/README.md | Adds docs index. |
| docs/ARCHITECTURE.md | Adds architecture overview + dependency graph. |
| CONTRIBUTING.md | Adds contributing guide (currently appears to be a mismatched template). |
| CHANGELOG.md | Adds initial changelog entries. |
| .github/workflows/swift.yml | Adds Swift build/test workflow. |
| .github/workflows/codeql.yml | Adds CodeQL workflow (currently uses invalid actions/checkout@v7). |
| .github/workflows/apisec-scan.yml | Adds APIsec workflow (requires secrets; can fail PR CI if not gated). |
| .github/PULL_REQUEST_TEMPLATE.md | Adds PR template and checklist. |
| .github/dependabot.ymlv | Adds Dependabot config file (wrong filename/invalid ecosystem). |
| .github/agents/my-agent.agent.md | Adds placeholder custom agent config. |
Suppressed comments (2)
Sources/PlayHT/Intramodular/API/PlayHT.APISpecification.swift:126
dump(response)in the HTTP decode path will log full response metadata/data, which can leak user content and significantly spam logs in production.
Sources/xAI/Intramodular/Models/xAI.ChatMessage.swift:127- When decoding a
.functionmessage,responseis being decoded from the.namekey instead of the.contentkey, so the function result will be wrong (and decoding may fail ifnameisn’t a valid response string).
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+3
to
+7
| import xAI | ||
|
|
||
| public var xAI_API_KEY: String { | ||
| "xai-iukwcbTFm3HCyuJVq7U5c0c9LKHJ0uhnGIsiOyn4Qu0zxSH3g1ULDSkaCHHoDQnX9tsV5cSCWom0HosP" | ||
| } |
Comment on lines
+11
to
+17
| public func dub( | ||
| fileData: Data? = nil, | ||
| sourceURL: URL? = nil, | ||
| name: String? = nil, | ||
| sourceLang: String? = nil, | ||
| targetLang: String,app | ||
| numSpeakers: Int? = nil, |
Comment on lines
111
to
115
| request = request | ||
| .header("X-USER-ID", context.root.configuration.userId) | ||
| .header("accept", "application/json") | ||
| .header(.accept(.mpeg)) | ||
| .header("AUTHORIZATION", context.root.configuration.apiKey) | ||
| .header(.contentType(.json)) |
|
|
||
| public init(from decoder: Decoder) throws { | ||
| let container = try decoder.container(keyedBy: CodingKeys.self) | ||
| print(try JSON(from: decoder).prettyPrintedDescription) |
|
|
||
| public init(from decoder: Decoder) throws { | ||
| let container = try decoder.container(keyedBy: CodingKeys.self) | ||
| print(try JSON(from: decoder).prettyPrintedDescription) |
Comment on lines
+51
to
+59
| let configuration = context.root.configuration | ||
|
|
||
| return try super | ||
| .buildRequestBase(from: input, context: context) | ||
| .jsonBody(input, keyEncodingStrategy: .convertToSnakeCase) | ||
| .header(.contentType(.json)) | ||
| .header(.accept(.json)) | ||
| .header(.authorization(.bearer, configuration.apiKey.unwrap())) | ||
| } |
Comment on lines
+269
to
+275
| # Check critical files | ||
| critical_files=( | ||
| "requirements.txt" | ||
| "tests/test_integration.py" | ||
| "tests/test_decrypt_validation.py" | ||
| "CONTINUOUS_VALIDATION_ORCHESTRATOR.py" | ||
| ) |
Comment on lines
+50
to
+54
| Trigger_APIsec_scan: | ||
| permissions: | ||
| security-events: write # for github/codeql-action/upload-sarif to upload SARIF results | ||
| actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | ||
| runs-on: ubuntu-latest |
| ) | ||
| ), | ||
| ] | ||
| AbstractLLM.ChatCompletionStream |
Comment on lines
60
to
+66
| public func getAllAvailableVoices() async throws -> [PlayHT.Voice] { | ||
| async let htVoices = availableVoices() | ||
| async let clonedVoices = clonedVoices() | ||
| async let htVoices = self.getAvailableVoices() | ||
| async let clonedVoices = self.clonedVoices() | ||
|
|
||
| let (available, cloned) = try await (htVoices, clonedVoices) | ||
| return available + cloned | ||
| let (_, cloned) = try await (htVoices, clonedVoices) | ||
|
|
||
| return cloned |
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.
No description provided.