Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
const common = {
title: 'OpenViking Gateway',
description:
'Give any API-key model client OpenViking memory. Point the client at the gateway, and it adds relevant memory to each new message and saves conversations back to OpenViking.',
beta: {
label: 'Beta',
hint: 'Beta: OpenViking Gateway is still evolving; later releases may change its settings and APIs.',
},
tabs: {
label: 'OpenViking Gateway sections',
overview: 'Overview',
upstreams: 'Upstreams',
profiles: 'Profiles',
keys: 'Keys',
requests: 'Requests',
connect: 'Connect',
},
address: {
label: 'Gateway address',
copy: 'Copy gateway address',
},
actions: {
cancel: 'Cancel',
copy: 'Copy',
delete: 'Delete',
duplicate: 'Duplicate',
edit: 'Edit',
more: 'More actions',
refresh: 'Refresh',
remove: 'Remove',
retry: 'Retry',
revoke: 'Revoke',
save: 'Save',
view: 'View',
back: 'Back',
viewAll: 'View all',
viewKeys: 'View keys',
},
states: {
loading: 'Loading…',
saving: 'Saving…',
updatedAt: 'Updated {{time}}',
any: 'Any',
on: 'On',
off: 'Off',
},
copy: {
done: 'Copied to clipboard',
failed: "Couldn't copy. Select the text and copy it manually.",
},
docs: {
link: 'Docs',
learnMore: 'Learn more',
troubleshoot: 'Troubleshooting',
},
access: {
title: 'Connect to OpenViking first',
invalid: 'Your OpenViking API key is invalid',
description:
'The gateway uses your OpenViking API key to identify you. Add it in Connection settings first.',
invalidDescription:
'OpenViking rejected the API key in Connection settings. It may have been regenerated or deleted. Enter a valid key.',
action: 'Open connection settings',
},
management: {
title: 'Enter gateway management key',
label: 'Gateway management key',
description:
"Whoever deployed this gateway sets the gateway management key. It's needed only to change upstreams and profiles, and it's neither your OpenViking API key nor a gateway key used by clients.",
where: 'Where can I find it?',
prefix:
"Keys generated by openviking-server init, openviking-gateway init or Studio's Enable gateway start with ovgm_.",
environment: 'Or this environment variable, which overrides both files:',
studio:
'Root can view ov.conf in Settings → Server configuration → File editor.',
reset:
"Can't find it? Put a new key of at least 32 characters in the same place and restart.",
resetDocs: 'How to reset it',
keyPlaceholder: '<at least 32 characters>',
session:
'Kept only in this browser tab. Closing the tab locks editing again.',
wrongKey:
"That's a gateway key for clients. Enter the gateway management key instead.",
invalid:
"That gateway management key is incorrect. If it was changed or lost, see “Where can I find it?” above. Note that it isn't your OpenViking admin API key.",
unlock: 'Unlock',
unlocked: 'Unlocked. You can now edit upstreams and profiles.',
lock: 'Lock',
editing: 'Editing upstreams and profiles',
expired:
'The gateway management key is no longer valid. Upstreams and profiles are read-only again.',
readOnly:
'Upstreams and profiles are provided by your gateway admin. You can view them and pick them when issuing a key.',
adminReadOnly:
'OpenViking admins and root also need the gateway management key to change them. If you deployed this server, the key is in ov.conf gateway.management_key.',
shared:
"You're editing settings shared by everyone in this account. Changes apply to every key that uses them as soon as you save.",
publicTitle: 'This gateway is open to every OpenViking Cloud user',
publicDescription:
'It connects to the public OpenViking service and has no gateway management key, so anyone with an OpenViking Cloud API key can sign in, relay model requests through it and change the upstreams in their account. If this gateway is only for you or your team, set a gateway management key and restart the gateway.',
generate: 'Generate a key with:',
dismiss: 'Dismiss',
},
unavailable: {
notEnabled: {
title: 'The gateway is not enabled on this OpenViking server',
description:
'Run openviking-server init and choose Update gateway, or add the configuration below to ov.conf and restart OpenViking.',
},
contact: 'Ask the person who deployed OpenViking to enable it.',
trusted: {
title: 'The gateway does not support Trusted mode',
description:
'The gateway tells users apart by their API keys. Set server.auth_mode to api_key in ov.conf, then restart OpenViking.',
},
openvikingUnreachable: {
title: 'The gateway cannot reach OpenViking ({{url}})',
description:
"Make sure OpenViking is running and that the gateway's openviking_url (in gateway.conf or OPENVIKING_GATEWAY_OPENVIKING_URL) points to it, then retry.",
},
failed: {
title: "Couldn't load the OpenViking Gateway",
},
fixLabel: 'What to change',
terminal: 'Terminal',
environment: 'Environment variable',
enable: {
description:
'Studio can turn it on for you: it saves the setting to ov.conf and restarts the server.',
descriptionManualRestart:
"Studio can save the setting to ov.conf. This server can't be restarted from Studio, so restart it yourself afterwards.",
action: 'Enable gateway',
confirmTitle: 'Enable the gateway?',
confirmRestart:
'Studio writes gateway.enabled: true to ov.conf and restarts the server. Requests are interrupted for a few seconds while it restarts.',
confirmManualRestart:
'Studio writes gateway.enabled: true to ov.conf. The gateway turns on after you restart the server.',
protect:
'Only people with the gateway management key can change upstreams and context profiles',
protectHint:
'Studio generates the key and saves it as gateway.management_key in ov.conf, then shows it to you once.',
checking: 'Reading ov.conf…',
saving: 'Saving ov.conf…',
restarting: 'Saving ov.conf and restarting the server…',
savedRestart:
'Saved to ov.conf. Restart the server to turn the gateway on, then choose Retry.',
readOnly:
"ov.conf on this server is read-only (for example, mounted from a Helm ConfigMap), so Studio can't change it. Turn the gateway on in your deployment, then restart the server:",
helm: 'Helm values',
stillOff:
'The server restarted, but the gateway is still off. Check whether OPENVIKING_GATEWAY_ENABLED is set to a false value; it overrides ov.conf.',
rolledBack:
'The server rejected the new configuration and kept the old one, so the gateway is still off. Check the server log for the reason.',
conflict:
'ov.conf changed after this page loaded. Reload it and try again.',
reload: 'Reload ov.conf',
failed: "Couldn't enable the gateway: {{message}}",
restartFailed:
"ov.conf was saved, but Studio couldn't confirm the restart: {{message}}. Check the server, then choose Retry.",
keyTitle: 'Save your gateway management key',
keyOnce:
'Studio saved it to gateway.management_key in ov.conf; root can view it later in Settings → Server configuration. You need it to change upstreams and context profiles; this browser tab stays unlocked until you close it.',
copyKey: 'Copy gateway management key',
copyFailed:
"Couldn't copy. The key is selected; press Ctrl+C or ⌘C to copy it.",
keyOnceManual:
'Studio saved it to gateway.management_key in ov.conf; root can view it later in Settings → Server configuration. You need it to change upstreams and context profiles; after you restart the server, choose Enter gateway management key on the gateway page and paste it.',
keySaved: 'I saved it',
continue: 'I saved it, open the gateway',
},
},
errors: {
reasons: {
management_key_required:
'Upstreams and profiles are provided by your gateway admin. Enter the gateway management key to change them.',
management_key_invalid:
'The gateway management key is incorrect. Unlock again with the current key; “Where can I find it?” in the unlock dialog lists where it is stored.',
vlm_import_forbidden:
'You do not have permission to import OpenViking model settings.',
vlm_import_unavailable:
"This gateway doesn't run inside OpenViking, so it can't read the server's model settings. Add upstreams manually.",
in_use_one: '{{count}} key still uses this.',
in_use_other: '{{count}} keys still use this.',
upstream_key_missing:
"This upstream has no stored API key (or clients send their own), so the gateway can't run a test.",
trusted_mode_unsupported: 'The gateway does not support Trusted mode.',
not_enabled: 'The gateway is not enabled on this OpenViking server.',
conflict: 'This change conflicts with existing settings.',
invalid:
'The gateway rejected these settings. Check the values and try again.',
forbidden: "You don't have permission to do this.",
not_found: 'This item no longer exists. Refresh and try again.',
unauthorized:
'Your OpenViking API key was rejected. Check Connection settings.',
other: 'Something went wrong. Try again.',
},
inUse: 'Keys still use this. Revoke those keys first.',
invalidSettings:
'The gateway rejected these settings. Check the values and limits.',
invalidKeyRequest:
'The gateway rejected this key. Check the fields and try again.',
unknownProfile: 'The selected context profile no longer exists.',
unknownUpstream: 'One of the selected upstreams no longer exists.',
keyNotFound:
'The gateway key this conversation used has been revoked, so it can no longer be resynced.',
sessionNotFound: 'The gateway no longer has this conversation.',
subscriptionKey:
"Claude subscription logins aren't supported. Use a model API key.",
},
validation: {
anthropicBaseUrl: 'Remove the trailing /v1 to save',
required: 'Required',
number: 'Enter a number',
integer: 'Enter a whole number',
min: 'Must be at least {{min}}',
max: 'Must be at most {{max}}',
range: 'Must be between {{min}} and {{max}}',
rangeExclusive: 'Must be more than {{min}} and at most {{max}}',
greaterThan: 'Must be more than {{min}}',
selectOneSource: 'Choose at least one source',
unknownCategory: 'Unknown category “{{name}}”',
quotasAllZero: 'Set at least one category above 0, or turn the limit off',
softBelowHard: 'Must be below the hard reminder',
baseUrl: 'Enter an http:// or https:// URL without credentials or fragment',
baseUrlPlaceholder:
'The URL can only use the {api_key} placeholder, and not in the host',
subscriptionKey:
"Claude subscription tokens (sk-ant-oat…) aren't supported. Use a model API key.",
apiKeyRequired:
'Enter the API key, or let each client send its own key instead',
headerInvalid: 'Header “{{name}}” has an invalid name or value',
headerReserved: "“{{name}}” is set by the gateway and can't be changed",
headerValue: 'Enter a value for “{{name}}”',
aliasTarget: 'Enter the upstream model for “{{name}}”',
contextWindow: 'The window for “{{name}}” must be at least {{min}} tokens',
protocolUnsupported:
'$t(enums.vendor.{{vendor}}) does not offer $t(enums.protocol.{{protocol}}). Pick another protocol, or set the provider to $t(enums.vendor.generic).',
},
units: {
bytes: 'bytes',
characters: 'characters',
entries: 'entries',
messages: 'messages',
rounds: 'rounds',
seconds: 'seconds',
tokens: 'tokens',
},
field: {
default: 'Default: {{value}}',
notSet: 'Not set',
noLimit: 'No limit',
advanced: 'Advanced settings',
sectionInvalid: 'Fix the highlighted settings in this section to save.',
storedSecret: 'Stored — leave blank to keep',
},
keyValue: {
add: 'Add',
remove: 'Remove',
none: 'None',
duplicate: 'Listed twice; only the last one is kept',
},
tags: {
remove: 'Remove {{value}}',
suggestions: 'Suggestions',
},
}
export default common