mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
fix(max): incorrect model (#29485)
This commit is contained in:
@@ -114,7 +114,7 @@ class RootNode(AssistantNode):
|
||||
def _get_model(self, state: AssistantState):
|
||||
# Research suggests temperature is not _massively_ correlated with creativity, hence even in this very
|
||||
# conversational context we're using a temperature of 0, for near determinism (https://arxiv.org/html/2405.00492v1)
|
||||
base_model = ChatOpenAI(model="gpt-4", temperature=0.0, streaming=True, stream_usage=True)
|
||||
base_model = ChatOpenAI(model="gpt-4o", temperature=0.0, streaming=True, stream_usage=True)
|
||||
|
||||
# The agent can now be in loops. Since insight building is an expensive operation, we want to limit a recursion depth.
|
||||
# This will remove the functions, so the agent doesn't have any other option but to exit.
|
||||
|
||||
Reference in New Issue
Block a user