Fixes
This commit is contained in:
parent
54a2236b6c
commit
50823f71d3
|
@ -25,11 +25,7 @@
|
|||
}
|
||||
var data = JSON.parse(event.data);
|
||||
if (data.hasOwnProperty('content')) {
|
||||
if (data.type == 'code') {
|
||||
lastMessageElement.innerHTML += '<pre>' + data.content + '</pre>';
|
||||
} else {
|
||||
lastMessageElement.innerHTML += data.content;
|
||||
}
|
||||
lastMessageElement.innerHTML += data.content;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1 +1 @@
|
|||
[{"role": "user", "type": "message", "content": "uh"}, {"role": "assistant", "type": "message", "content": "Hello! How can I assist you today?"}, {"role": "user", "type": "message", "content": "hello"}, {"role": "assistant", "type": "message", "content": "Hi there! What can I help you with today? Can we start by planning your day or there's something specific you have in mind?"}]
|
||||
[{"role": "user", "type": "message", "content": "uh"}, {"role": "assistant", "type": "message", "content": "Hello! How can I assist you today?"}, {"role": "user", "type": "message", "content": "hello"}, {"role": "assistant", "type": "message", "content": "Hi there! What can I help you with today? Can we start by planning your day or there's something specific you have in mind?"}, {"role": "user", "type": "message", "content": "hi"}, {"role": "assistant", "type": "message", "content": "Hello! How can I assist you today? If you have any tasks or schedule to plan for the day, feel free to tell me."}, {"role": "user", "type": "message", "content": "what time is it"}, {"role": "assistant", "type": "message", "content": "I apologize for any inconvenience this might cause, but as an AI, I don't possess real-time capabilities. However, you can check the current time on the device you're using to interact with me. Is there anything else you need assistance with?"}]
|
|
@ -65,6 +65,7 @@ for file in glob.glob('/tools/*.py'):
|
|||
# Hosted settings
|
||||
interpreter.llm.api_key = os.getenv('OPENAI_API_KEY')
|
||||
interpreter.llm.model = "gpt-4"
|
||||
interpreter.auto_run = True
|
||||
|
||||
|
||||
### MISC SETTINGS
|
||||
|
|
Loading…
Reference in New Issue