Skip to content

Is anyone running this simulation with a Gemini model? #191

@jessiestang

Description

@jessiestang

I am trying to run this simulation with Gemini, but encountered many parser mismatch issue with functions in the files under the persona folder:

"E:\smallville\generative_agents\reverie\backend_server\persona\cognitive_modules\plan.py", line 472, in _long_term_planning wake_up_hour = generate_wake_up_hour(persona) File
"E:\smallville\generative_agents\reverie\backend_server\persona\cognitive_modules\plan.py", line 38, in generate_wake_up_hour return int(run_gpt_prompt_wake_up_hour(persona)[0]) TypeError: int() argument must be a string, a bytes-like object or a number, not 'tuple'

It seems the reason is that Gemini and Gpt have different output formats, but I am not sure.
Is there a quick fix to this problem than rewriting the whole file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions