diff --git a/discordChatGPTVoiceBot.js b/discordChatGPTVoiceBot.js index 0b44962..7428c1f 100644 --- a/discordChatGPTVoiceBot.js +++ b/discordChatGPTVoiceBot.js @@ -88,6 +88,7 @@ const volume=0.5; const parser = new StringOutputParser(); const memory = new BufferMemory({ memoryKey: "chat_history",ai_prefix: "Vanessa:", human_prefix: "Nome do membro:"}); + const model = new ChatOpenAI({ model: gptModel, max_tokens: MaxTokens, temperature: Temperature, diff --git a/infra_app/ansible/main.yaml b/infra_app/ansible/main.yaml index f8b2342..7080848 100644 --- a/infra_app/ansible/main.yaml +++ b/infra_app/ansible/main.yaml @@ -9,9 +9,9 @@ - name: print hostname debug: msg: "{{hostname.stdout}}" - - name: apt update - apt: - update_cache: yes + #- name: apt update + # apt: + # update_cache: yes - name: install docker apt: name: docker.io