* Typo

Fix typo in SECURITY.md

* Fix typos in documentation and code comments

- Fix spelling: "temprature" → "temperature" in SPEC_AssistantFrame.md
- Fix spelling: "necssary" → "necessary" in SPEC_AssistantFrame.md
- Fix spelling: "resutl" → "result" in assistant-message-accumulator.ts
- Fix spelling: "assitant-stream" → "assistant-stream" in merge.ts
- Fix path reference: examples/ultrathink → python/assistant-transport-backend in README.md
- Replace "UltraThink" with "Assistant Transport Backend" in setup.py
This commit is contained in:
Ivan Masyuk
2025-10-17 16:58:42 -05:00
committed by GitHub
parent 381e7f0fbb
commit 42c4e0121b
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# Reporting Security Issues
We security bugs in assistant-ui seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.
We take security bugs in assistant-ui seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.
To report a security issue, please use the GitHub Security Advisory ["Report a Vulnerability"](https://github.com/assistant-ui/assistant-ui/security/advisories/new) tab.
+1 -1
View File
@@ -123,7 +123,7 @@ examples/with-assistant-transport/
For a complete working backend example, check out:
- `examples/ultrathink` - Python FastAPI server with assistant-stream integration
- `python/assistant-transport-backend` - Python FastAPI server with assistant-stream integration
## Customization
@@ -143,7 +143,7 @@ const handleToolCallArgsTextFinish = (
throw new Error("Last is not a tool call");
}
// TODO this should never be hit; this happens if args-text-finish is emitted after resutl
// TODO this should never be hit; this happens if args-text-finish is emitted after result
if (part.state !== "partial-call") return part;
// throw new Error("Last is not a partial call");
@@ -16,7 +16,7 @@ export const createMergeStream = () => {
if (!item.promise) {
// TODO for most streams, we can directly pipeTo to avoid the microTask queue
// add an option to eagerly pipe the stream to the merge stream
// ideally, using assitant-stream w sync run method + piping to a sync WritableStream runs in the same microtask
// ideally, using assistant-stream w sync run method + piping to a sync WritableStream runs in the same microtask
// this is useful because we often use AssistantStreams internally as a serialization utility, e. g. AssistantTransformStream
// idea: avoid reader.read() by instead using a WritableStream & if (!hasPendingPull) await waitForPull()?
item.promise = item.reader
@@ -12,7 +12,7 @@ Supported features are:
Out of scope for now:
- model configuration (temprature, etc.)
- model configuration (temperature, etc.)
- ToolCallReader API (incremental reading support)
### API design
@@ -57,7 +57,7 @@ The communication between `AssistantFrameProvider` (iframe) and `AssistantFrameH
#### ModelContextProvider API
AssistantFrameHost implements the ModelContextProvider API. It immediately subscribes to the iframe for updates. This is necssary because ModelContextProvider.getModelContext() is synchronous.
AssistantFrameHost implements the ModelContextProvider API. It immediately subscribes to the iframe for updates. This is necessary because ModelContextProvider.getModelContext() is synchronous.
#### Message Channel
+3 -3
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
"""
Setup script for UltraThink server.
Setup script for Assistant Transport Backend.
This script helps users get started by:
1. Checking Python version
@@ -39,7 +39,7 @@ def run_command(command, description):
def main():
"""Main setup function."""
print("🚀 UltraThink Setup Script")
print("🚀 Assistant Transport Backend Setup Script")
print("=" * 40)
# Check Python version
@@ -47,7 +47,7 @@ def main():
# Check if we're in the right directory
if not Path("pyproject.toml").exists():
print("❌ Please run this script from the ultrathink directory")
print("❌ Please run this script from the assistant-transport-backend directory")
sys.exit(1)
# Ask user about virtual environment