Skip to content

Commit 5a35b0f

Browse files
committed
docs: update Zoo Code repo references
1 parent d231b8b commit 5a35b0f

4 files changed

Lines changed: 18 additions & 11 deletions

File tree

docs/providers/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Model Providers
3-
description: Compare all available model providers for Zoo Code. See which providers work with the VS Code extension and Zoo Code Cloud Agents at a glance.
3+
description: Compare all available model providers for Zoo Code. See which providers work with the VS Code extension and Zoo Code Cloud at a glance.
44
keywords:
55
- model providers
66
- API providers
@@ -13,11 +13,11 @@ import ProviderTable from '@site/src/components/ProviderTable';
1313

1414
# Model Providers
1515

16-
The Zoo Code VS Code extension and Zoo Code Cloud Agents are highly capable, sophisticated coding agents. While they carry a lot of functionality on their own, they depend on LLM providers to offer the inference needed to complete tasks.
16+
The Zoo Code VS Code extension and Zoo Code Cloud support a wide range of coding workflows, but they still depend on LLM providers to supply the inference needed to complete tasks.
1717

1818
Other tools are intinsically bound by design to a specific provider (like Claude Code → Anthropic Models or Codex → OpenAI models), forcing you to stick with them irrespective of how the landscape changes (which happens fast). Zoo on the other hand is **model-agnostic**, allowing you to choose the model that best fits your needs, according to your budget, skill profile, codebase and more.
1919

20-
We support connecting to a wide range of model providers, giving you flexibility in how you access AI models. Some providers work with the VS Code extension, while others are available through Zoo Code Cloud Agents.
20+
We support connecting to a wide range of model providers, giving you flexibility in how you access AI models. Some providers work with the VS Code extension, while others are available through Zoo Code Cloud.
2121

2222
Learn how to set up your provider in [the Zoo Code VS Code extension here](/getting-started/connecting-api-provider).
2323

src/components/GitHubInstallButtons/index.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
import React, { useState, useEffect } from 'react';
22
import { RxGithubLogo } from "react-icons/rx";
33
import { VscVscode } from "react-icons/vsc";
4-
import { GITHUB_MAIN_REPO_URL, SIGN_IN_URL, SIGN_UP_URL, VSCODE_MARKETPLACE_URL } from '@site/src/constants';
4+
import { GITHUB_MAIN_REPO_SLUG, GITHUB_MAIN_REPO_URL, VSCODE_MARKETPLACE_URL } from '@site/src/constants';
55
import styles from './styles.module.css';
66

77
// Number formatting function
88
function formatNumber(num: number): string {
9+
if (num < 1000) {
10+
return num.toLocaleString();
11+
}
12+
913
if (num >= 1000000) {
1014
const truncated = Math.floor((num / 1000000) * 10) / 10;
1115
return truncated.toFixed(1) + "M";
1216
}
17+
1318
const truncated = Math.floor((num / 1000) * 10) / 10;
1419
return truncated.toFixed(1) + "k";
1520
}
1621

1722
// GitHub Stars API
1823
async function getGitHubStars() {
1924
try {
20-
const res = await fetch("https://api.github.com/repos/RooCodeInc/Roo-Code");
25+
const res = await fetch(`https://api.github.com/repos/${GITHUB_MAIN_REPO_SLUG}`);
2126
const data = await res.json();
2227

2328
if (typeof data.stargazers_count !== "number") {
@@ -78,7 +83,7 @@ async function getVSCodeDownloads() {
7883
}
7984

8085
export default function GitHubInstallButtons(): React.JSX.Element {
81-
const [stars, setStars] = useState<string | null>("15.4k");
86+
const [stars, setStars] = useState<string | null>(null);
8287
const [downloads, setDownloads] = useState<string | null>("574.1k");
8388

8489
useEffect(() => {
@@ -122,4 +127,4 @@ export default function GitHubInstallButtons(): React.JSX.Element {
122127
</a>
123128
</div>
124129
);
125-
}
130+
}

src/components/ProviderTable/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default function ProviderTable(): React.JSX.Element {
4747
<tr>
4848
<th align="left" style={{ "minWidth": "100%" }}>Provider</th>
4949
<th align="center" style={{ "minWidth": "14rem", "textAlign": "center" }}>VS Code Extension</th>
50-
<th align="center" style={{ "minWidth": "14rem", "textAlign": "center" }}>Cloud Agents</th>
50+
<th align="center" style={{ "minWidth": "14rem", "textAlign": "center" }}>Zoo Code Cloud</th>
5151
</tr>
5252
</thead>
5353
<tbody>
@@ -63,4 +63,4 @@ export default function ProviderTable(): React.JSX.Element {
6363
</tbody>
6464
</table>
6565
);
66-
}
66+
}

src/constants.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
*/
44

55
// GitHub repository information
6-
export const GITHUB_REPO_URL = 'https://github.com/Zoo-Code-Org/Zoo-Code-Docs';
6+
export const GITHUB_REPO_SLUG = 'Zoo-Code-Org/Zoo-Code-Docs';
7+
export const GITHUB_REPO_URL = `https://github.com/${GITHUB_REPO_SLUG}`;
78
export const GITHUB_ISSUES_URL = `${GITHUB_REPO_URL}/issues`;
89
export const GITHUB_NEW_ISSUE_URL = `${GITHUB_ISSUES_URL}/new`;
910

@@ -14,7 +15,8 @@ export const TWITTER_URL = 'https://x.com/ZooCodeDev';
1415
export const LINKEDIN_URL = 'https://www.linkedin.com';
1516

1617
// GitHub links
17-
export const GITHUB_MAIN_REPO_URL = 'https://github.com/Zoo-Code-Org/Zoo-Code';
18+
export const GITHUB_MAIN_REPO_SLUG = 'Zoo-Code-Org/Zoo-Code';
19+
export const GITHUB_MAIN_REPO_URL = `https://github.com/${GITHUB_MAIN_REPO_SLUG}`;
1820
export const GITHUB_ISSUES_MAIN_URL = `${GITHUB_MAIN_REPO_URL}/issues`;
1921
export const GITHUB_FEATURES_URL = `${GITHUB_MAIN_REPO_URL}/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop`;
2022

0 commit comments

Comments
 (0)