Skip to content

bug while generating ideas for relevant experimental assays #6

@gabrielpan147

Description

@gabrielpan147

Hello,

I was running Robin demo, using ollama with local deployed qwen3:32b. However, when running the Experimental assay generation task ,I got an error:

Step 2: Conducting literature search with FutureHouse platform...
2025-06-03 19:41:50,779 - robin.utils - INFO - Starting literature search for 3 queries using job-futurehouse-paperqa2.
2025-06-03 19:49:24,867 - robin.utils - INFO - Finished processing 3 tasks.
2025-06-03 19:49:24,870 - robin.utils - INFO - Successfully wrote: query_1_think.txt to: robin_output/dry_age-related_macular_degeneration_2025-06-03_19-40-36/experimental_assay_literature_reviews/query_1_think.txt
2025-06-03 19:49:24,871 - robin.utils - INFO - Successfully wrote: query_2_how.txt to: robin_output/dry_age-related_macular_degeneration_2025-06-03_19-40-36/experimental_assay_literature_reviews/query_2_how.txt
2025-06-03 19:49:24,871 - robin.utils - INFO - Successfully wrote: query_3_what.txt to: robin_output/dry_age-related_macular_degeneration_2025-06-03_19-40-36/experimental_assay_literature_reviews/query_3_what.txt
2025-06-03 19:49:24,872 - robin.assays - INFO -
Step 3: Generating ideas for relevant experimental assays...

JSONDecodeError                           Traceback (most recent call last)
Cell In[4], line 1
----> 1 candidate_generation_goal = await experimental_assay(configuration=config)

File ~/Robin/robin/robin/assays.py:114, in experimental_assay(configuration)
    105 assay_proposal_messages = [
    106     Message(role="system", content=assay_proposal_system_message),
    107     Message(role="user", content=assay_proposal_user_message),
    108 ]
    110 experimental_assay_ideas = await configuration.llm_client.call_single(
    111     assay_proposal_messages
    112 )
--> 114 assay_idea_json = json.loads(cast(str, experimental_assay_ideas.text))
    115 assay_idea_list = format_assay_ideas(assay_idea_json)
    117 for assay_idea in assay_idea_list:

File ~/anaconda3/envs/fhouse/lib/python3.12/json/__init__.py:346, in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
    341     s = s.decode(detect_encoding(s), 'surrogatepass')
    343 if (cls is None and object_hook is None and
    344         parse_int is None and parse_float is None and
    345         parse_constant is None and object_pairs_hook is None and not kw):
--> 346     return _default_decoder.decode(s)
    347 if cls is None:
    348     cls = JSONDecoder
...
    354 except StopIteration as err:
--> 355     raise JSONDecodeError("Expecting value", s, err.value) from None
    356 return obj, end

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I'm wondering if you have any ideas about it? Thank you for your help!

Best,
Gabriel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions