weipienlee
weipienlee
Another developer/researcher with the same problem :)
found the problems: 1. variable name mismatch: should all be `opengpts_user_id` (see below) 2. expiration is apparently by default a session ``` if (document.cookie.indexOf("user_id") === -1) { document.cookie = `opengpts_user_id=${uuidv4()}`;...
Duplicated
afaik, ChatOllama doesn't support function calling yet. My knowledge could be out of date. You could try [OllamaFunctions](https://python.langchain.com/docs/integrations/chat/ollama_functions) in the meanwhile.
Solved in release candidate
that's great news @hayescode, but how/where? I'm on the latest 1.1.400r1
ah, the env vars. Got it!
having troubles after replacing the `OAUTH_AZURE_AD_*` keys with `OAUTH_AZURE_AD_HYBRID_*`. Get double login buttons, one works, the other seems to have no call_back uri. But that button shouldn't be there in...
@hayescode I looked at the raw user data (`provider_id='azure-ad-hybrid'`), but can't find the roles. These are the keys (no nested values): raw_user_data.keys()=dict_keys(['@odata.context', 'businessPhones', 'displayName', 'givenName', 'jobTitle', 'mail', 'mobilePhone', 'officeLocation', 'preferredLanguage',...
Not very familiar with this. When not using msal, it gets tricky very quickly. This what I used: @cl.oauth_callback def oauth_callback(provider_id: str, token: str, raw_user_data: dict, default_user: cl.User): from msal.oauth2cli.oidc...