-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
No matter which model or message I type I end up getting this error:
Error: [DecimalError] Invalid argument: [object Object].
I originally thought it was cause my locale is french, and in french numbers are formatted as 35,33, but in english they're 35.33. However changing my locale to english and rebooting didn't fix it, neither did running LC_ALL=en_US.UTF-8 opencode in the terminal fix it.
OpenCode version
0.3.58
Steps to reproduce
- Launch opencode:
opencode - Type any message with any model
test - See the error:
test
amon (10:31 AM)
I see you've entered "test". Are you looking to run existing tests, or do you have a specific task you'd like me to test or implement?
If you want to run tests, I need to know the command, which I can try to infer from the project structure (e.g., nix-build, pytest, npm test).
If you have a task, please describe it. If you'd like to see my current task list, I can use the todoread tool.
gemini-flash-lite-latest (10:31 AM)
Error: [DecimalError] Invalid argument: [object Object]
For small outputs it lets the model output everything. For any work to be done, like asking it to edit a file, it cuts off the output.
refactor the inspiron host to make things more clear
amon (10:32 AM)
I will start by listing the files in the hosts/inspiron directory to understand the current structure and identify what needs refactoring for clarity.
[tool_call:list for path '/hosts/inspiron']
gemini-flash-lite-latest (10:32 AM)
Error: [DecimalError] Invalid argument: [object Object]
See that it cut off the model.
Screenshot and/or share link
https://opencode.ai/s/C1aqyaC6
Operating System
MacOS 15.6.1 (24G90)
Terminal
Wave
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working