Skip to content

Copilot/manusweareone10billion - #76

Open
5hy7xz92nd-oss wants to merge 567 commits into
PreternaturalAI:mainfrom
5hy7xz92nd-oss:copilot/manusweareone10billion
Open

Copilot/manusweareone10billion#76
5hy7xz92nd-oss wants to merge 567 commits into
PreternaturalAI:mainfrom
5hy7xz92nd-oss:copilot/manusweareone10billion

Conversation

@5hy7xz92nd-oss

Copy link
Copy Markdown

No description provided.

5hy7xz92nd-oss and others added 30 commits August 21, 2026 09:40
…kflow (#50) (#56) (#200) (#257)

* Document package architecture, dependency graph, and contribution workflow (#50) (#58)

* Document package architecture, dependency graph, and contribution workflow (#50) (#56) (#200)

* Document package architecture, dependency graph, and contribution workflow (#50) (#56) (#258)
…decision-flow

Document package architecture, dependency graph, and contribution workflow (#50) (#56) (#200) (#204)
Document package architecture, dependency graph, and contribution workflow (#50) (#51) (#59) (#66) (#89) (#92) (#99)
Document package architecture, dependency graph, and contribution workflow (#50) (#51) (#59) (#66) (#90) (#121) (#127)
…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>
…-development

Document package architecture, dependency graph, and contribution workflow (#50) (#57)
…decision-flow

Document package architecture, dependency graph, and contribution workflow (#50) (#56) (#200) (#204)
…ecision-flow

Document package architecture, dependency graph, and contribution workflow (#50) (#57) (#64)
…pelement-events

Add repo research plan and workflow roles to docs
Document package architecture, dependency graph, and contribution workflow (#50) (#51) (#59) (#66)
Document package architecture, dependency graph, and contribution workflow (#50) (#57)
…decision-flow

Document package architecture, dependency graph, and contribution workflow (#50) (#56) (#200) (#204)
Document package architecture, dependency graph, and contribution workflow (#50) (#51) (#59) (#66)
5hy7xz92nd-oss and others added 26 commits August 22, 2026 22:33
## 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>
## 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: 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 #… -->

---------

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>
## 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>
#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>&nbsp;
  
<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>&nbsp;

<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>&nbsp;

<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>&nbsp;

<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>
#545)

## 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>
Copilot AI lite review requested due to automatic review settings August 23, 2026 06:53
## 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>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the Swift package’s provider surface (notably adding an xAI module and enhancing TogetherAI/PlayHT/ElevenLabs integrations), while also introducing new cross-provider abstractions for speech synthesis and early WIP video-generation primitives. It additionally adds several repository docs and GitHub Actions workflows.

Changes:

  • Add a new xAI provider module with chat completion + function/tool-call model types and LLMRequestHandling bridging, plus tests.
  • Extend TogetherAI with a richer model taxonomy, embeddings request handling, and a completions API wrapper + tests.
  • Add speech-synthesis abstractions + provider conformances (PlayHT, Rime, NeetsAI, HumeAI, ElevenLabs), plus multiple CI/security workflow and documentation files.

Reviewed changes

Copilot reviewed 117 out of 128 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
Tests/xAI/module.swift Test client + API key plumbing
Tests/xAI/Intramodular/FunctionCallingTests.swift xAI function-calling test
Tests/xAI/Intramodular/CompletionTests.swift xAI chat completion tests
Tests/TogetherAI/module.swift TogetherAI test client setup
Tests/TogetherAI/Intramodular/EmbeddingsTests.swift TogetherAI embeddings tests
Tests/TogetherAI/Intramodular/CompetionTests.swift TogetherAI completions tests
Tests/Perplexity/Intramodular/CompletionTests.swift Perplexity test tweak
Tests/Mistral/Intramodular/EmbeddingsTests.swift Remove unused import
Sources/xAI/module.swift Exported imports for xAI
Sources/xAI/Intramodular/xAI+LLMRequestHandling.swift Bridge xAI client to LLMRequestHandling
Sources/xAI/Intramodular/xAI.swift Define xAI namespace
Sources/xAI/Intramodular/xAI.Model.swift xAI model identifiers
Sources/xAI/Intramodular/xAI.Client.swift xAI client type + CoreMI service init
Sources/xAI/Intramodular/xAI.ChatMessage+LargeLanguageModels.swift PromptLiteral / message conversion support
Sources/xAI/Intramodular/Models/xAI.Tool.swift Tool + tool-call models
Sources/xAI/Intramodular/Models/xAI.ChatRole.swift Role model + conversions
Sources/xAI/Intramodular/Models/xAI.ChatMessageBody.swift Message body model + content coding
Sources/xAI/Intramodular/Models/xAI.ChatMessage.swift ChatMessage model + Codable
Sources/xAI/Intramodular/Models/xAI.ChatFunctionDefinition.swift Function schema wrapper
Sources/xAI/Intramodular/Models/xAI.ChatCompletion.swift Chat completion response model
Sources/xAI/Intramodular/API/xAI.APISpecification.swift REST spec + error mapping
Sources/xAI/Intramodular/API/xAI.APISpecification.ResponseBodies.swift xAI response bodies placeholder
Sources/xAI/Intramodular/API/xAI.APISpecification.RequestBodies.swift Chat completions request body
Sources/TogetherAI/Intramodular/TogetherAI.Model.swift Refactor model taxonomy + provider ID
Sources/TogetherAI/Intramodular/TogetherAI.Embeddings.swift Embedding element type change
Sources/TogetherAI/Intramodular/TogetherAI.Completion.swift Add completion response model
Sources/TogetherAI/Intramodular/TogetherAI.Client+TextEmbeddingsRequestHandling.swift Add TextEmbeddingsRequestHandling conformance
Sources/TogetherAI/Intramodular/TogetherAI.Client+LLMRequestHandling.swift Add LLMRequestHandling conformance
Sources/TogetherAI/Intramodular/TogetherAI.Client.swift Add embeddings/completions helpers
Sources/TogetherAI/Intramodular/TogetherAI.APISpecification.swift Add completions endpoint + request bodies
Sources/Rime/Intramodular/Rime.Client+SpeechSynthesisRequestHandling.swift SpeechSynthesisRequestHandling conformance
Sources/Rime/Intramodular/Models/Rime.Voice.swift Add AbstractVoice conversions
Sources/PlayHT/Intramodular/URL++.swift Audio conversion helper
Sources/PlayHT/Intramodular/PlayHT.Model.swift Add new PlayHT model cases
Sources/PlayHT/Intramodular/PlayHT.Client+SpeechSynthesisRequestHandling.swift SpeechSynthesisRequestHandling conformance
Sources/PlayHT/Intramodular/PlayHT.Client.swift Voice listing + streaming changes
Sources/PlayHT/Intramodular/Models/PlayHT.VoiceSettings.swift Add missing import
Sources/PlayHT/Intramodular/Models/PlayHT.Voice.swift Make voiceEngine optional + add conversions
Sources/PlayHT/Intramodular/API/PlayHT.APISpecification.swift Stream endpoint returns Data + headers
Sources/PlayHT/Intramodular/API/PlayHT.APISpecification.RequestBodies.swift Adjust TTS request body fields
Sources/Perplexity/Intramodular/Perplexity+LLMRequestHandling.swift Remove deprecated request field
Sources/Perplexity/Intramodular/Perplexity.APISpecification/Perplexity.APISpecification.ResponseBodies.swift Add citations field
Sources/Perplexity/Intramodular/Perplexity.APISpecification/Perplexity.APISpecification.RequestBodies.swift Replace citations flag with new search params
Sources/OpenAI/Intramodular/Models/OpenAI.Model.swift Add DALL·E 2 enum case
Sources/OpenAI/Intramodular/API Specification/OpenAI.APISpecification.swift Add images/edits endpoint
Sources/OpenAI/Intramodular/API Specification/OpenAI.APISpecification.ResponseBodies.swift Make response body public
Sources/OpenAI/Intramodular/API Specification/OpenAI.APISpecification.RequestBodies.swift Make completion body public + add image edit multipart
Sources/OpenAI/Intramodular/API Client/OpenAI.Client-Image.swift Add createImageEdit client method
Sources/Ollama/Intramodular/Ollama.swift Adjust protocol extension constraint
Sources/NeetsAI/module.swift Export Swallow imports
Sources/NeetsAI/Intramodular/NeetsAI.Client+SpeechSynthesisRequestHandling.swift SpeechSynthesisRequestHandling conformance (+ helper)
Sources/NeetsAI/Intramodular/Models/NeetsAI.Voice.swift Add AbstractVoice conversions
Sources/NeetsAI/Intramodular/API/NeetsAI.APISpecification.RequestBodies.swift Add missing import
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoModel.swift Add VideoModel type
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.swift Add video generation settings root
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.StyleStrength.swift Add style strength enum
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.Resolution.swift Add resolution enum + helpers
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.Quality.swift Add quality enum
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.MotionSettings.swift Add motion settings
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.FrameRate.swift Add frame rate enum
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationRequestHandling.swift Add video generation protocol + wrappers
Sources/LargeLanguageModels/Intramodular/LLMs/Logging/LLMErrorLogger.swift Add error logging actor + integration
Sources/LargeLanguageModels/Intramodular/LLMs/Logging/FailedLLMResponseStore.swift Add failed-response store + export
Sources/LargeLanguageModels/Intramodular/LLMs/Agents/LLMAgentPipeline.swift Add simple agent pipeline abstractions
Sources/LargeLanguageModels/Intramodular/AbstractVoice (WIP)/SpeechSynthesisRequestHandling.swift Define speech synthesis protocol + environment key
Sources/LargeLanguageModels/Intramodular/AbstractVoice (WIP)/AbstractVoiceSettings.swift Define AbstractVoiceSettings + conversions protocols
Sources/LargeLanguageModels/Intramodular/AbstractVoice (WIP)/AbstractVoice.swift Define AbstractVoice + conversion protocols
Sources/HumeAI/Intramodular/Models/HumeAI.Tool.swift Add missing import
Sources/HumeAI/Intramodular/Models/HumeAI.Prompt.swift Add missing import
Sources/HumeAI/Intramodular/Models/HumeAI.Models.swift Add missing import
Sources/HumeAI/Intramodular/Models/HumeAI.Job.swift Add missing import
Sources/HumeAI/Intramodular/Models/HumeAI.FileInput.swift Add missing import
Sources/HumeAI/Intramodular/Models/HumeAI.File.swift Add missing import
Sources/HumeAI/Intramodular/Models/HumeAI.Dataset.swift Add missing import
Sources/HumeAI/Intramodular/Models/HumeAI.Config.swift Add missing import
Sources/HumeAI/Intramodular/Models/HumeAI.ChatResponse.swift Add missing import
Sources/HumeAI/Intramodular/Models/HumeAI.ChatMessage.swift Add missing import
Sources/HumeAI/Intramodular/Models/HumeAI.ChatGroup.swift Add missing import
Sources/HumeAI/Intramodular/Models/HumeAI.ChatEvent.swift Add missing import
Sources/HumeAI/Intramodular/Models/HumeAI.Chat.swift Add missing import
Sources/HumeAI/Intramodular/HumeAI.Client+SpeechSynthesisRequestHandling.swift SpeechSynthesisRequestHandling conformance
Sources/HumeAI/Intramodular/API/HumeAI.APISpecification.swift Remove debug print
Sources/ElevenLabs/Intramodular/Models/ElevenLabs.VoiceSettings.swift Add AbstractVoiceSettings conversions
Sources/ElevenLabs/Intramodular/Models/ElevenLabs.Voice.swift Add AbstractVoice conversions
Sources/ElevenLabs/Intramodular/Models/ElevenLabs.DubbingResult.swift Add dubbing result type
Sources/ElevenLabs/Intramodular/Models/ElevenLabs.DubbingProgress.swift Add dubbing progress type
Sources/ElevenLabs/Intramodular/Models/ElevenLabs.DubbingOptions.swift Add dubbing options type
Sources/ElevenLabs/Intramodular/ElevenLabs.Model.swift Add new model + provider fix
Sources/ElevenLabs/Intramodular/ElevenLabs.Client+Dubbing.swift Add dubbing API wrapper
Sources/ElevenLabs/Intramodular/ElevenLabs.Client.swift Add CoreMI init + speech conformance
Sources/ElevenLabs/Intramodular/API/ElevenLabs.APISpecification.swift Add dubbing endpoints
Sources/ElevenLabs/Intramodular/API/ElevenLabs.APISpecification.ResponseBodies.swift Add dubbing response/status types
Sources/ElevenLabs/Intramodular/API/ElevenLabs.APISpecification.RequestBodies.swift Refactor request bodies + add dubbing multipart
Sources/CoreMI/Intramodular/Model Identifier/ModelIdentifier.Provider.swift Add xAI provider + reorder helpers
Sources/CoreMI/Intramodular/Foundation/CoreMI.RequestHandling.swift Add macro import + signature tweak
Sources/AI/AnySpeechSynthesisRequestHandling.swift Add type-erased speech wrapper
Sources/_Gemini/Intramodular/Models/_Gemini.GoogleSearchRetrieval.swift Add default dynamic config
Sources/_Gemini/Intramodular/Models/_Gemini.GenerationConfig.swift Add JSONSchema conversion
Sources/_Gemini/Intramodular/API/_Gemini.APISpecification.swift Add API key query + resumable upload endpoints
Sources/_Gemini/Intramodular/API/_Gemini.APISpecification.RequestBodies.swift Add start/finalize upload inputs
Sources/_Gemini/Intramodular/_Gemini.Model.swift Add gemini-2.0-flash constant
Sources/_Gemini/Intramodular/_Gemini.Client+Files.swift Update file upload flow
Sources/_Gemini/Intramodular/_Gemini.Client+ContentGeneration.swift Add tools support to generation
SECURITY.md Add security policy template
Package.swift Add Media dep + ElevenLabs product + TogetherAITests target
Package.resolved Update dependency pins
enhanced-continuous-validation.yml Add extended GitHub Actions workflow
docs/README.md Add docs index
docs/ARCHITECTURE.md Add architecture overview
CONTRIBUTING.md Add contributing guide
CHANGELOG.md Add changelog scaffold
.github/workflows/swift.yml Add Swift build/test workflow
.github/workflows/codeql.yml Add CodeQL workflow
.github/workflows/apisec-scan.yml Add APIsec workflow
.github/PULL_REQUEST_TEMPLATE.md Add PR template
.github/dependabot.ymlv Add Dependabot config (needs rename)
.github/agents/my-agent.agent.md Add custom agent template

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Tests/xAI/module.swift
Comment on lines +5 to +11
public var xAI_API_KEY: String {
"xai-iukwcbTFm3HCyuJVq7U5c0c9LKHJ0uhnGIsiOyn4Qu0zxSH3g1ULDSkaCHHoDQnX9tsV5cSCWom0HosP"
}

public var client: xAI.Client {
xAI.Client(apiKey: xAI_API_KEY)
}
Comment on lines +60 to 61
AbstractLLM.ChatCompletionStream

Comment on lines +122 to +128
case .function:
self.body = .functionInvocation(
.init(
name: try container.decode(String.self, forKey: .name),
response: try container.decode(String.self, forKey: .name)
)
)
Comment on lines +114 to +116
let container = try decoder.container(keyedBy: CodingKeys.self)
print(try JSON(from: decoder).prettyPrintedDescription)

Comment on lines +139 to +142
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
print(try JSON(from: decoder).prettyPrintedDescription)

Comment thread .github/dependabot.ymlv
Comment on lines +6 to +11
version: 2
updates:
- package-ecosystem: "" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
Comment on lines +19 to +38
let model: ModelIdentifier = request.model ?? ModelIdentifier(from: TogetherAI.Model.Embedding.togetherM2Bert80M2KRetrieval)
let embeddingModel = try TogetherAI.Model.Embedding(rawValue: model.name).unwrap()

let embeddings = try await createEmbeddings(
for: embeddingModel,
input: request.input
).data

try _tryAssert(request.input.count == embeddings.count)

return TextEmbeddings(
model: .init(from: TogetherAI.Model.Embedding.togetherM2Bert80M2KRetrieval),
data: request.input.zip(embeddings).map {
TextEmbeddings.Element(
text: $0,
embedding: $1.embedding,
model: model
)
}
)
Comment on lines 124 to 127
do {
dump(response)
try response.validate()
} catch {
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 +12 to +14
.system {
"You are a Metereologist Expert accurately giving weather data in fahrenheit at any given city around the world"
},
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.

3 participants