sync: merge main into dev after release#252
Conversation
There was a problem hiding this comment.
Pull request overview
This PR syncs main into dev after a release, bringing over build-script improvements and a broad docs refresh aligned with the current feature set (providers, multimodal support, metrics, and new guides).
Changes:
- Enable parallel builds in
scripts/build_and_run.shby auto-detecting CPU cores and passing-j. - Update docs site content and homepage components (remove Team section; refresh “Why Flock” copy and examples).
- Add/adjust documentation pages for LLM metrics, audio transcription, and a developer guide; update various sidebar positions and feature descriptions.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/build_and_run.sh | Adds core-count detection and parallel build flags for faster local builds. |
| docs/src/pages/index.tsx | Removes Team import/section from the docs landing page. |
| docs/src/constants/index.ts | Updates marketing copy for the “Why Flock” section. |
| docs/src/components/why-flock/TableBox.tsx | Updates the example table content/formatting used in the “Why Flock” section. |
| docs/src/components/why-flock/CodeBox.tsx | Updates the showcased SQL example and line-number gutter. |
| docs/docs/what-is-flock.md | Expands overview/highlights; updates provider + platform support statements. |
| docs/docs/structured-output.md | Updates sidebar positioning and adds provider support details (incl. Anthropic/Claude). |
| docs/docs/model-parameters.md | Adjusts sidebar ordering. |
| docs/docs/llm-metrics.md | Adds a new metrics/observability documentation page. |
| docs/docs/image-support.md | Updates image support description and references audio docs. |
| docs/docs/getting-started/getting-started.md | Updates prerequisites/providers and adds an Anthropic/Claude entry. |
| docs/docs/faq.mdx | Adjusts sidebar ordering. |
| docs/docs/developer-guide.md | Adds a new developer/contributor guide page. |
| docs/docs/audio-support.md | Adds a new audio transcription documentation page. |
| README.md | Updates feature list/highlights, prerequisites, and adds a developer guide link. |
| <DocCard | ||
| title="Anthropic / Claude" | ||
| link="/flock/docs/getting-started/anthropic" | ||
| /> |
There was a problem hiding this comment.
DocCard requires an Icon prop (see docs/src/components/global/DocCard.tsx). This new Anthropic card omits it, which will cause a type error / runtime failure when rendering. Add an appropriate icon import (e.g., from react-icons) and pass it as Icon={...} like the other cards.
| - **`type`** _(optional)_: Set to `'image'` for image data (default is `'tabular'`) | ||
| - **`detail`** _(optional)_: Image detail level for OpenAI models - `'low'`, `'medium'`, or `'high'` (default is | ||
| - **`type`** _(optional)_: Set to `'image'` (default is `'tabular'` if omitted) | ||
| - **`detail`** _(optional)**:** Image detail level for OpenAI models – `'low'`, `'medium'`, or `'high'` (default is |
There was a problem hiding this comment.
Markdown formatting typo in the detail bullet: _(optional)**:** renders oddly and is inconsistent with the other bullets (which use _(optional)_: ...). Adjust to the same _(optional)_: ... pattern.
| - **`detail`** _(optional)**:** Image detail level for OpenAI models – `'low'`, `'medium'`, or `'high'` (default is | |
| - **`detail`** _(optional)_: Image detail level for OpenAI models – `'low'`, `'medium'`, or `'high'` (default is |
| --- | ||
| title: Frequently Asked Questions (FAQ) | ||
| sidebar_position: 10 | ||
| ---title: Frequently Asked Questions (FAQ) | ||
| sidebar_position: 8 | ||
| sidebar_position: 11 | ||
| --- |
There was a problem hiding this comment.
This page still states that only OpenAI/Azure/Ollama are supported providers, but the codebase and other updated docs in this PR indicate Anthropic/Claude is also supported. Please update the provider list sections in this FAQ to match current capabilities to avoid confusing users.
No description provided.