Skip to content

fix: include workspace_id in model parameters for get and save methods#6339

Open
shaohuzhang1 wants to merge 1 commit into
v2from
pr@v2@fix_cross_workspace_model
Open

fix: include workspace_id in model parameters for get and save methods#6339
shaohuzhang1 wants to merge 1 commit into
v2from
pr@v2@fix_cross_workspace_model

Conversation

@shaohuzhang1

Copy link
Copy Markdown
Contributor

fix: include workspace_id in model parameters for get and save methods

@shaohuzhang1

Copy link
Copy Markdown
Contributor Author

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

from common.config.embedding_config import ModelManage
from common.constants.cache_version import Cache_Version
from common.constants.permission_constants import ResourcePermission, ResourceAuthType
from common.constants.permission_constants import ResourceAuthType, ResourcePermission
from common.utils.common import get_file_content
from common.utils.rsa_util import rsa_long_encrypt, rsa_long_decrypt
from common.utils.rsa_util import rsa_long_decrypt, rsa_long_encrypt
from django.core.cache import cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants