Spaces:
Configuration error
Configuration error
Download frontend/src/services/settings.ts from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 685 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/services/settings.ts
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/services/settings.ts
-
curl -L -o settings.ts https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/services/settings.ts
685 Bytes
| import { Settings } from "#/types/settings"; | |
| export const LATEST_SETTINGS_VERSION = 5; | |
| export const DEFAULT_SETTINGS: Settings = { | |
| LLM_MODEL: "anthropic/claude-3-5-sonnet-20241022", | |
| LLM_BASE_URL: "", | |
| AGENT: "CodeActAgent", | |
| LANGUAGE: "en", | |
| LLM_API_KEY: null, | |
| CONFIRMATION_MODE: false, | |
| SECURITY_ANALYZER: "", | |
| REMOTE_RUNTIME_RESOURCE_FACTOR: 1, | |
| GITHUB_TOKEN_IS_SET: false, | |
| ENABLE_DEFAULT_CONDENSER: true, | |
| ENABLE_SOUND_NOTIFICATIONS: false, | |
| USER_CONSENTS_TO_ANALYTICS: false, | |
| PROVIDER_TOKENS: { | |
| github: "", | |
| gitlab: "", | |
| }, | |
| IS_NEW_USER: true, | |
| }; | |
| /** | |
| * Get the default settings | |
| */ | |
| export const getDefaultSettings = (): Settings => DEFAULT_SETTINGS; | |