Data and AI struggles

1,730 problems · 342 companies

LLM apps

Trouble with LlamaIndex functiontool

3 posts from 3 people3d activeFading, +0 this week

Posts per day

Posts per day3 posts, Sep 2 to Nov 9

The posts behind it

GitHub issuesrun-llama/llama_index · yifanxiong272Nov 1

[Bug]: `FunctionTool` turns an empty list result into empty content instead of `[]`

### Bug Description `FunctionTool._parse_tool_output` treats a list as a list of content blocks when `all(isinstance(item, ...) for item in raw_output)`. For an empty list `all(...)` is true, so the list is returned as zero blocks and `ToolOutput.content` is `""`, while `[0, 1]`...

1 replies
GitHub issuesrun-llama/llama_index · LaptopminiOct 13

[Bug]: FunctionTool doesn't detect ctx: Context when the module uses "from __future__ import annotations"

### Bug Description `FunctionTool` finds the workflow-context parameter by comparing each annotation with `Context` (`_is_context_param` in `llama_index/core/tools/function_tool.py`), using `inspect.signature(fn)`. Under `from __future__ import annotations` (PEP 563) every...

GitHub issuesrun-llama/llama_index · eemelipaSep 2

[Bug]: FunctionTool wraps a returned ToolOutput as a success and drops is_error

### Bug Description `FunctionTool.call` / `acall` always build a **new** `ToolOutput` around the function's return value. `is_error` defaults to `False`. They never check whether the function already returned a `ToolOutput`. So this is a success: `FunctionAgent._call_tool` only...

6 replies

Companies and products named

3 posts
1 post
About this problem

Evidence

3 posts from 3 people in 1 place, about 1 a week over 61 days. Mostly on run-llama/llama_index. Tools named alongside: GitHub.

Frustration Frustration 0 of 3· Seen on GitHub issues

How it was grouped

Posts about LlamaIndex with no known issue, sharing the word "functiontool". First post Sep 2, 2026, latest Nov 1, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method

Other LlamaIndex problems

RAG on LlamaIndex returns irrelevant or missing context

5 posts from 5 people on GitHub issues.

LlamaIndex users keep filing bugs

Top post: "SQLAlchemyChatStore.delete_message treats positional index as database primary key", one of 17 posts from 12 people on GitHub issues, Stack Overflow.

LlamaIndex upgrades break working setups

17 posts from 10 people on GitHub issues.

LlamaIndex fails to return valid structured output

5 posts from 5 people on GitHub issues.

Trouble with LlamaIndex returns

Top post: "LegacyOfficeReader returns a Document with text None for a document with no text", one of 3 posts from 3 people on GitHub issues.

LlamaIndex vector search quality is hard to get right

3 posts from 3 people on GitHub issues.

Trouble with LlamaIndex documents

Top post: "MoorchehVectorStore sparse-vector path raises NameError (missing imports, undefined 'documents', ImpotError", one of 3 posts from 3 people on GitHub issues.

Trouble with LlamaIndex default

Top post: "max_iterations=0 is silently replaced by the default 20", one of 3 posts from 3 people on GitHub issues.

Experiments on LlamaIndex are hard to reproduce and track

3 posts from 3 people on GitHub issues.

LlamaIndex lock-in makes switching costly

3 posts from 3 people on GitHub issues.

Trouble with LlamaIndex events

Top post: "CBEvent assigns generated uuid to self.id instead of self.id_, so events without an id all share id_=", one of 3 posts from 3 people on GitHub issues.

LlamaIndex integrations break or are missing

2 posts from 2 people on GitHub issues. Unverified.

History

Momentum went from steady to fading.

Nov 8, 2026

First seen with 3 posts; the top post now: "FunctionTool wraps a returned ToolOutput as a success and drops is_error".

Nov 6, 2026