admin page oluşturuldu.
This commit is contained in:
@@ -78,8 +78,10 @@ const extractContent = (payload) => {
|
||||
return '';
|
||||
};
|
||||
|
||||
export const isGlmConfigured = () => Boolean(GLM_API_KEY);
|
||||
|
||||
export const translateWithGlm = async (text) => {
|
||||
if (!GLM_API_KEY) {
|
||||
if (!isGlmConfigured()) {
|
||||
throw new Error('ZAI_GLM_API_KEY veya ANTHROPIC_API_KEY tanımlı değil.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user