Opencode plugin artifacts error #22475
Replies: 3 comments 1 reply
-
|
I cleaned up my deployment and set it up again, this time storing authentication details in the postgres db and using s3 for artifacts and the opencode plugin doesnt error anymore. I see that tool calls are being captured in the traces but the toolcalls dont show up on the overview page? |
Beta Was this translation helpful? Give feedback.
-
|
Hey there, sorry to hear you're running into issues with the First off, can you share the exact error message from stderr? That’ll help narrow down whether this is a permissions issue, a compatibility problem with the plugin, or something else. We’ve seen similar issues in the past when artifact stores (like S3) have mismatched credentials or when the As a quick test, try running export MLFLOW_TRACKING_URI=https://mymlflowdomain.com
export MLFLOW_EXPERIMENT_ID=69
export MLFLOW_TRACKING_USERNAME=admin
export MLFLOW_TRACKING_PASSWORD=password1234
export MLFLOW_DEFAULT_ARTIFACT_ROOT=./artifacts
opencodeLet me know if that changes anything or if you’ve got the error logs handy—I’m happy to take a closer look. Also, are you on the latest version of the |
Beta Was this translation helpful? Give feedback.
-
|
The error is straightforward the Why it happened with your original setup: When you use What fixed it for you (your own follow-up): Switching to a clean setup with S3 artifacts likely caused MLflow to return a proper For others hitting this: A few things to check:
Regarding your follow up about tool calls not showing on the overview page that's likely expected behavior; the overview typically shows span summaries, not individual tool call details. The full tool call data lives in the trace detail view. If you're not seeing it there either, could be a UI rendering issue with that version. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I wanted to try out the
"plugin": ["@mlflow/opencode"]since todays mlflow release 🎉 but it didnt work out that great. The trace still appears in mlflow but opencode throws an error.Not sure what the issue is, I used the default artifact location which was basic_auth.db and had the errors and hoped when switching to rustfs s3 setup that would fix it but im still having the same issue. I used the
--default-artifact-rootoption before which apparently proxies directly to the artifact store in case thats relevant. Hoping someone can help me out with this.How I ran opencode:
The command im currently using for mlflow:v3.11.1 docker image:
/bin/sh -c pip install --no-cache-dir psycopg2-binary boto3 mlflow[auth] mlflow server \ --backend-store-uri "${MLFLOW_BACKEND_STORE_URI}" \ --artifacts-destination "${MLFLOW_ARTIFACTS_DESTINATION}" \ --serve-artifacts \ --host "${MLFLOW_HOST}" \ --port "${MLFLOW_PORT}" \ --allowed-hosts "*" \ --cors-allowed-origins "*" \ --app-name basic-auth \ --workers 1The stderr happens when it finishes its last message from what I can tell.
What it writes to stderr (sorry if it looks ugly, not sure how to get normal looking stderr output):
Also im a bit surprised that mlflow does not track all too much? For example the model thinking is completely excluded which seems to defeat the point imo? Would also expect it to log the initial systemprompt/tools.
I would not really mind resetting my database if that would fix it but I would like to export and then import my experiments back, I heard that they can be archived to s3 or so? could someone point me in the direction on how to do so? Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions