feat: add GigaChat model retrieval for enhanced image analysis
This commit is contained in:
@@ -10,7 +10,14 @@ const getSystemPrompt = async () => {
|
||||
return data.features['dry-wash-bh'].SYSTEM_PROMPT.value
|
||||
}
|
||||
|
||||
const getGigaChatModel = async () => {
|
||||
const response = await fetch('https://admin.bro-js.ru/api/config/v1/dev')
|
||||
const data = await response.json()
|
||||
return data.features['dry-wash-bh'].GIGA_CHAT_MODEL.value
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
getGigaToken,
|
||||
getSystemPrompt
|
||||
getSystemPrompt,
|
||||
getGigaChatModel
|
||||
}
|
||||
Reference in New Issue
Block a user