mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
Anthropic error 404 occurs #58
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @auxpd on GitHub (Mar 10, 2025).
Self Checks
Dify version
1.0.0
Plugin version
0.0.3-local
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
All models associated with Anthropic are invoked with an error
✔️ Error log
2025-03-11 00:09:30.660 ERROR [Thread-515 (_generate_worker)] [app_generator.py:257] - Unknown Error when generating
Traceback (most recent call last):
File "/app/api/core/app/apps/agent_chat/app_generator.py", line 237, in _generate_worker
runner.run(
File "/app/api/core/app/apps/agent_chat/app_runner.py", line 61, in run
self.get_pre_calculate_rest_tokens(
File "/app/api/core/app/apps/base_app_runner.py", line 86, in get_pre_calculate_rest_tokens
prompt_tokens = model_instance.get_llm_num_tokens(prompt_messages)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_manager.py", line 195, in get_llm_num_tokens
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 370, in _round_robin_invoke
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/__base/large_language_model.py", line 299, in get_num_tokens
return plugin_model_manager.get_llm_num_tokens(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/manager/model.py", line 231, in get_llm_num_tokens
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/manager/base.py", line 189, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/manager/base.py", line 221, in _handle_plugin_daemon_error
raise PluginInvokeError(description=message)
core.plugin.manager.exc.PluginInvokeError: PluginInvokeError: {"args":{},"error_type":"NotFoundError","message":"404 page not found"}
2025-03-11 00:09:30.660 DEBUG [Dummy-514] [based_generate_task_pipeline.py:45] - error: PluginInvokeError: {"args":{},"error_type":"NotFoundError","message":"404 page not found"}
2025-03-11 00:09:30.672 ERROR [Dummy-514] [base_app_generate_response_converter.py:123] - {"args":{},"error_type":"NotFoundError","message":"404 page not found"}
@dosubot[bot] commented on GitHub (Aug 16, 2025):
Hi, @auxpd. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary
Next Steps
Thank you for your understanding and contribution!