fix: change profileId to nearai:default per review
This commit is contained in:
parent
e26defe4b3
commit
739333487f
@ -566,7 +566,7 @@ export async function applyAuthChoiceApiProviders(
|
||||
await setNearAiApiKey(normalizeApiKeyInput(String(key)), params.agentDir);
|
||||
}
|
||||
nextConfig = applyAuthProfileConfig(nextConfig, {
|
||||
profileId: "near-ai:default",
|
||||
profileId: "nearai:default",
|
||||
provider: "near-ai",
|
||||
mode: "api_key",
|
||||
});
|
||||
|
||||
@ -115,7 +115,7 @@ export async function setVeniceApiKey(key: string, agentDir?: string) {
|
||||
export async function setNearAiApiKey(key: string, agentDir?: string) {
|
||||
// Write to resolved agent dir so gateway finds credentials on startup.
|
||||
upsertAuthProfile({
|
||||
profileId: "near-ai:default",
|
||||
profileId: "nearai:default",
|
||||
credential: {
|
||||
type: "api_key",
|
||||
provider: "near-ai",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user