Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 0 additions & 110 deletions artifacts/motion-pilot/MOTION-REVIEW.md

This file was deleted.

Binary file removed artifacts/motion-pilot/after/discover-dark-fixed.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/after/discover-dark.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/after/discover-results.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/after/discover-running.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed artifacts/motion-pilot/after/electron-today.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/after/electron-workspace.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/after/research-idle.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/after/research-running.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/after/today-dark-fixed.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/after/today-dark.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/after/today.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/before/discover-browse.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/before/settings-dark.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/before/today.png
Binary file not shown.
Binary file removed artifacts/motion-pilot/before/workspace.png
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/coding-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ Prompt Skills are stored as JSON and editable via UI:
### 1. Before Starting Any Task

```bash
# Navigate to project
cd ~/coding/agentdev/finagent
# Navigate to the project directory
cd folio

# Check git status
git status
Expand Down
2 changes: 1 addition & 1 deletion docs/design-comparison.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Folio 设计稿 vs 当前实现 对比报告

> 数据来源:Stitch 项目 **Minimalist Personal Portfolio**(`projects/4232596277189541114`,TEXT_TO_UI_PRO,DESKTOP,11 屏)。
> 数据来源:Stitch 设计稿 **Minimalist Personal Portfolio**(桌面端,11 屏)。
> 对比基准:`packages/ui` 当前工作区实现。
> 生成方式:通过 Stitch MCP(Streamable HTTP,`tools/call list_screens`)拉取全部屏幕的截图与 HTML 源码逐屏比对。

Expand Down
2 changes: 1 addition & 1 deletion docs/v2-plan.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Folio V2 — AI-native Finance Workbench: Internal Plan
# Folio V2 — AI-native Finance Workbench: Historical Plan (superseded)

## Research findings (verified against real installs)

Expand Down
9 changes: 2 additions & 7 deletions packages/pi-extension/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('pi extension registration', () => {
expect(registered).toEqual(tools.map((tool) => tool.name));
});

it('overrides anthropic baseUrl for MiniMax-compatible runtimes', () => {
it('registers no anthropic override when no base URL is configured', () => {
const calls: Array<{ name: string; config: { baseUrl?: string } }> = [];

registerProviderOverrides({
Expand All @@ -28,12 +28,7 @@ describe('pi extension registration', () => {
},
});

expect(calls).toEqual([
{
name: 'anthropic',
config: { baseUrl: 'https://api.minimaxi.com/anthropic' },
},
]);
expect(calls).toEqual([]);
});

it('prefers ANTHROPIC_BASE_URL from the environment', () => {
Expand Down
9 changes: 5 additions & 4 deletions packages/pi-extension/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,14 @@ function readProviderOverrides(): ProviderOverride[] {
export function registerProviderOverrides(agent: AgentApi) {
if (typeof agent.registerProvider !== 'function') return;

// Legacy static override: keep the historical Anthropic base URL behavior
// unless Folio supplies explicit overrides for anthropic.
// Anthropic base-URL override is opt-in: apply it only when the user
// configures ANTHROPIC_BASE_URL (or explicit provider overrides below).
// With no override, the provider's standard endpoint is used.
const overrides = readProviderOverrides();
const hasAnthropicOverride = overrides.some((entry) => entry.provider === 'anthropic');
if (!hasAnthropicOverride) {
if (!hasAnthropicOverride && process.env.ANTHROPIC_BASE_URL) {
agent.registerProvider('anthropic', {
baseUrl: process.env.ANTHROPIC_BASE_URL ?? 'https://api.minimaxi.com/anthropic',
baseUrl: process.env.ANTHROPIC_BASE_URL,
});
}

Expand Down
Loading