Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

Remove debug logging from model credentials

Dane Schneider1826844fb383
diff --git a/app/shared/ai_models_credentials.go b/app/shared/ai_models_credentials.go
index bb70804f..b3525444 100644
--- a/app/shared/ai_models_credentials.go
+++ b/app/shared/ai_models_credentials.go
@@ -1,9 +1,5 @@
package shared
-import (
- "fmt"
-)
-
type ModelProviderOption struct {
Publishers map[ModelPublisher]bool
Config *ModelProviderConfigSchema
@@ -17,7 +13,6 @@ func (m ModelRoleConfig) GetModelProviderOptions() ModelProviderOptions {
usesProviders, ok := BuiltInModelProvidersByModelId[m.ModelId]
if !ok {
- fmt.Println("no built in model providers for", m.ModelId)
return opts
}
@@ -25,13 +20,11 @@ func (m ModelRoleConfig) GetModelProviderOptions() ModelProviderOptions {
composite := usesProvider.ToComposite()
config, ok := BuiltInModelProviderConfigs[usesProvider.Provider]
if !ok {
- fmt.Println("no provider config for", usesProvider.Provider)
continue
}
baseModel, ok := BuiltInBaseModelsById[m.ModelId]
if !ok {
- fmt.Println("no base model for", m.ModelId)
continue
}
diff --git a/docs/docs/upgrading-v1-to-v2.md b/docs/docs/upgrading-v1-to-v2.md
deleted file mode 100644
index 37abc8e4..00000000
--- a/docs/docs/upgrading-v1-to-v2.md
+++ /dev/null
@@ -1,25 +0,0 @@
----
-sidebar_position: 3
-sidebar_label: From v1 to v2
----
-
-# Moving from v1 to v2
-
-While built on the same foundations, Plandex v2 is designed to be run separately and independently from v1. It's not an in-place upgrade. So there's nothing in particular you need to do to upgrade; just [install](./install.md) v2 as if you were a brand new user.
-
-## Future Versions
-
-While it would have been nice to maintain compatibility, the large scope of changes and experimental nature of v1 made it more trouble than it was worth.
-
-That said, going forward, the intention is to release future versions as in-place upgrades so that all your projects and data will remain in one place.
-
-## Feedback
-
-If you're a v1 user and you really want to bring your existing plans into v2, please [speak up on Discord](https://discord.gg/plandex-ai) or [on GitHub](https://github.com/plandex-ai/plandex/discussions). This is doable, but I want to be sure there's demand for it before putting in the work.
-
-## What's New?
-
-Check out the [2.0.0 release notes](https://github.com/plandex-ai/plandex/releases/tag/v2.0.0) for an overview of what's new in v2. There's a lot!
-
-
-